From e2ee5ee6114eb74bb08cb9abe5a3020203e92688 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 20 Jan 2017 00:06:39 -0800 Subject: Split X-specific code into x.c --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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} -- cgit v1.2.3