]> Sergey Matveev's repositories - st.git/blobdiff - Makefile
My config
[st.git] / Makefile
index 0b3cecd0329916f904c68d8ec6302a4c234a5664..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
 
@@ -54,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