diff options
author | Michael Forney <mforney@mforney.org> | 2017-01-20 00:06:39 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2017-01-20 19:42:26 -0800 |
commit | e2ee5ee6114eb74bb08cb9abe5a3020203e92688 (patch) | |
tree | 7fa47c27df85b1803f8e35860ad6ed2603138acb /Makefile | |
parent | c63a87cd936c1eeef14c4c21572e5b782d3df4bc (diff) | |
download | st-e2ee5ee6114eb74bb08cb9abe5a3020203e92688.tar.gz st-e2ee5ee6114eb74bb08cb9abe5a3020203e92688.zip |
Split X-specific code into x.c
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} |