diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-12 21:55:20 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-12 21:55:20 +0200 |
commit | 1bba714632c7e4a5f0d4431b56f396170bf9f3e4 (patch) | |
tree | ff3c2b03b8e75ed976727b1a4d1a4ba2067f8890 /Makefile | |
parent | f1758c25358a54bfbc354185829292c011620125 (diff) |
Apply boxdraw patch
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,7 @@ include config.mk -SRC = st.c x.c +SRC = st.c x.c boxdraw.c hb.c OBJ = $(SRC:.c=.o) all: options st @@ -15,11 +15,15 @@ options: @echo "LDFLAGS = $(STLDFLAGS)" @echo "CC = $(CC)" +config.h: + cp config.def.h config.h + .c.o: $(CC) $(STCFLAGS) -c $< st.o: config.h st.h win.h x.o: arg.h config.h st.h win.h +boxdraw.o: config.h st.h boxdraw_data.h $(OBJ): config.h config.mk |