diff options
Diffstat (limited to 'st/Makefile')
| -rw-r--r-- | st/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/st/Makefile b/st/Makefile index ca2c21c..da95823 100644 --- a/st/Makefile +++ b/st/Makefile @@ -15,6 +15,9 @@ options: @echo "LDFLAGS = $(STLDFLAGS)" @echo "CC = $(CC)" +config.h: + cp config.def.h config.h + .c.o: $(CC) $(STCFLAGS) -c $< @@ -29,12 +32,12 @@ st: $(OBJ) $(CC) -o $@ $(OBJ) $(STLDFLAGS) clean: - rm -f st $(OBJ) st-$(VERSION).tar.gz *.rej *.orig *.o + rm -f st $(OBJ) st-$(VERSION).tar.gz dist: clean mkdir -p st-$(VERSION) cp -R FAQ LEGACY TODO LICENSE Makefile README config.mk\ - config.h st.info st.1 arg.h st.h win.h $(SRC)\ + 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) |
