From 38d2f7ba589e8ee0ee5ded7915952ed094e3a51a Mon Sep 17 00:00:00 2001 From: ZachIR Date: Tue, 8 Jul 2025 20:39:57 -0500 Subject: Start from scratch on version 0.9.2 --- Makefile | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 541a990..15db421 100644 --- a/Makefile +++ b/Makefile @@ -4,16 +4,10 @@ include config.mk -SRC = st.c x.c boxdraw.c +SRC = st.c x.c OBJ = $(SRC:.c=.o) -all: options st - -options: - @echo st build options: - @echo "CFLAGS = $(STCFLAGS)" - @echo "LDFLAGS = $(STLDFLAGS)" - @echo "CC = $(CC)" +all: st config.h: cp config.def.h config.h @@ -23,7 +17,6 @@ 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 @@ -50,12 +43,9 @@ install: st chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 tic -sx st.info @echo Please see the README file regarding the terminfo entry of st. - mkdir -p $(DESTDIR)$(ICONPREFIX) - [ -f $(ICONNAME) ] && cp -f $(ICONNAME) $(DESTDIR)$(ICONPREFIX) || : uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/st rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 - rm -f $(DESTDIR)$(ICONPREFIX)/$(ICONNAME) -.PHONY: all options clean dist install uninstall +.PHONY: all clean dist install uninstall -- cgit v1.2.3