summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-01-20 00:06:39 -0800
committerMichael Forney <mforney@mforney.org>2017-01-20 19:42:26 -0800
commite2ee5ee6114eb74bb08cb9abe5a3020203e92688 (patch)
tree7fa47c27df85b1803f8e35860ad6ed2603138acb /Makefile
parentc63a87cd936c1eeef14c4c21572e5b782d3df4bc (diff)
Split X-specific code into x.c
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}