diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | include config.mk | 4 | include config.mk |
5 | 5 | ||
6 | SRC = st.c | 6 | SRC = st.c x.c |
7 | OBJ = ${SRC:.c=.o} | 7 | OBJ = ${SRC:.c=.o} |
8 | 8 | ||
9 | all: options st | 9 | all: options st |
@@ -21,6 +21,9 @@ config.h: | |||
21 | @echo CC $< | 21 | @echo CC $< |
22 | @${CC} -c ${CFLAGS} $< | 22 | @${CC} -c ${CFLAGS} $< |
23 | 23 | ||
24 | st.o: config.h st.h win.h | ||
25 | x.o: arg.h st.h win.h | ||
26 | |||
24 | ${OBJ}: config.h config.mk | 27 | ${OBJ}: config.h config.mk |
25 | 28 | ||
26 | st: ${OBJ} | 29 | st: ${OBJ} |