add config.h to make

This commit is contained in:
Jakub 2022-11-14 19:56:29 -05:00
parent d2899972f8
commit 8ef056e602

View File

@ -30,7 +30,7 @@ st: $(OBJ)
$(CC) -o $@ $(OBJ) $(STLDFLAGS) $(CC) -o $@ $(OBJ) $(STLDFLAGS)
clean: clean:
rm -f st $(OBJ) st-$(VERSION).tar.gz rm -f st $(OBJ) st-$(VERSION).tar.gz config.h
dist: clean dist: clean
mkdir -p st-$(VERSION) mkdir -p st-$(VERSION)
@ -38,7 +38,7 @@ dist: clean
config.def.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) st-$(VERSION)
tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz
rm -rf st-$(VERSION) rm -rf st-$(VERSION)
install: st install: st
mkdir -p $(DESTDIR)$(PREFIX)/bin mkdir -p $(DESTDIR)$(PREFIX)/bin