From ea4d4ad4ef0eae8f78d9e38bc3dc3145edded12a Mon Sep 17 00:00:00 2001 From: stefan Date: Fri, 14 Apr 2023 19:50:19 -0400 Subject: initial commit --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3