summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-04-14 19:50:19 -0400
committerstefan <stefan@s00.xyz>2023-04-14 19:50:19 -0400
commitea4d4ad4ef0eae8f78d9e38bc3dc3145edded12a (patch)
tree46b1b637ba4b379064464fe2f23fa101fd281e8e /Makefile
parent211964d56ee00a7d46e251cbc150afb79138ae37 (diff)
downloadst-ea4d4ad4ef0eae8f78d9e38bc3dc3145edded12a.tar.gz
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 470ac86..5f54bf2 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
include config.mk
-SRC = st.c x.c
+SRC = st.c x.c boxdraw.c
OBJ = $(SRC:.c=.o)
all: options st
@@ -23,6 +23,7 @@ config.h:
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
@@ -30,7 +31,7 @@ st: $(OBJ)
$(CC) -o $@ $(OBJ) $(STLDFLAGS)
clean:
- rm -f st $(OBJ) st-$(VERSION).tar.gz
+ rm -f st $(OBJ) st-$(VERSION).tar.gz config.h
dist: clean
mkdir -p st-$(VERSION)
@@ -38,7 +39,7 @@ dist: clean
config.def.h st.info st.1 arg.h st.h win.h $(SRC)\
st-$(VERSION)
tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz
- rm -rf st-$(VERSION)
+ rm -rf st-$(VERSION)
install: st
mkdir -p $(DESTDIR)$(PREFIX)/bin
© 2025 Stefan Weigl-Bosker