X-Git-Url: https://git.danieliu.xyz/?p=st.git;a=blobdiff_plain;f=Makefile;h=470ac86407bbd2876e3ee997e04e57649b51da9f;hp=128ee9d406f58d269130ee167a862572ea905eea;hb=d2b75db8d7519a20af8bf09e9c205507f9ff828c;hpb=d4928edba0fe2cc63b3bc13fd6dad0bcb875174e diff --git a/Makefile b/Makefile index 128ee9d..470ac86 100644 --- 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)