diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -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 |