aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fb026c4..d8595fe 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
include config.mk
-SRC = st.c
+SRC = st.c x.c
OBJ = ${SRC:.c=.o}
all: options st
@@ -21,6 +21,9 @@ config.h:
@echo CC $<
@${CC} -c ${CFLAGS} $<
+st.o: config.h st.h win.h
+x.o: arg.h st.h win.h
+
${OBJ}: config.h config.mk
st: ${OBJ}