aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index aedc4c0..413fdf9 100644
--- a/Makefile
+++ b/Makefile
@@ -7,13 +7,7 @@ include config.mk
SRC = st.c x.c boxdraw.c hb.c
OBJ = $(SRC:.c=.o)
-all: options st
-
-options:
- @echo st build options:
- @echo "CFLAGS = $(STCFLAGS)"
- @echo "LDFLAGS = $(STLDFLAGS)"
- @echo "CC = $(CC)"
+all: st
.c.o:
$(CC) $(STCFLAGS) -c $<
@@ -29,13 +23,12 @@ st: $(OBJ)
$(CC) -o $@ $(OBJ) $(STLDFLAGS)
clean:
- rm -f st $(OBJ) st-$(VERSION).tar.gz *.o *.orig *.rej
+ rm -f st *.o *.orig *.rej
dist: clean
mkdir -p st-$(VERSION)
- cp -R FAQ LEGACY TODO LICENSE Makefile README config.mk\
- st.info arg.h st.h win.h $(SRC)\
- st-$(VERSION)
+ cp -r Makefile readme.md config.mk arg.h hb.h win.h \
+ config.h boxdraw_data.h st.h $(SRC) st-$(VERSION)
tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz
rm -rf st-$(VERSION)
@@ -43,10 +36,8 @@ install: st
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f st $(DESTDIR)$(PREFIX)/bin
chmod 755 $(DESTDIR)$(PREFIX)/bin/st
- tic -sx st.info
- @echo Please see the README file regarding the terminfo entry of st.
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
-.PHONY: all options clean dist install uninstall
+.PHONY: all clean dist install uninstall