applied blinking cursor
[st.git] / Makefile
index 128ee9d..470ac86 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,19 +22,21 @@ 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
 
 st: $(OBJ)
-       $(CC) $(STLDFLAGS) -o $@ $(OBJ)
+       $(CC) -o $@ $(OBJ) $(STLDFLAGS)
 
 clean:
        rm -f st $(OBJ) st-$(VERSION).tar.gz
 
 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)