summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-12 21:55:20 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-12 21:55:20 +0200
commit1bba714632c7e4a5f0d4431b56f396170bf9f3e4 (patch)
treeff3c2b03b8e75ed976727b1a4d1a4ba2067f8890 /Makefile
parentf1758c25358a54bfbc354185829292c011620125 (diff)
Apply boxdraw patch
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ec2781d..6fdd0c6 100644
--- a/Makefile
+++ b/Makefile
@@ -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