]> Sergey Matveev's repositories - st.git/blobdiff - Makefile
Revert "Fix cursor move with wide glyphs"
[st.git] / Makefile
index c678ead14de96bb202a6ab0b82d6a877f796af6c..15db421c0e7b56e9196353ffc5b75f8ef1ba7194 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,13 +7,7 @@ include config.mk
 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
@@ -22,7 +16,7 @@ config.h:
        $(CC) $(STCFLAGS) -c $<
 
 st.o: config.h st.h win.h
-x.o: arg.h st.h win.h
+x.o: arg.h config.h st.h win.h
 
 $(OBJ): config.h config.mk
 
@@ -34,7 +28,9 @@ clean:
 
 dist: clean
        mkdir -p st-$(VERSION)
-       cp -R LICENSE Makefile README config.mk config.def.h st.info st.1 arg.h $(SRC) st-$(VERSION)
+       cp -R FAQ LEGACY TODO LICENSE Makefile README config.mk\
+               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)
 
@@ -52,4 +48,4 @@ uninstall:
        rm -f $(DESTDIR)$(PREFIX)/bin/st
        rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
 
-.PHONY: all options clean dist install uninstall
+.PHONY: all clean dist install uninstall