Add .gitignore

Also, add rule to regenerate in case executable list changes.
This commit is contained in:
Michael Forney
2019-06-13 13:52:52 -07:00
parent 01b5105e0c
commit 9ae6c45097
2 changed files with 103 additions and 1 deletions

View File

@@ -274,4 +274,7 @@ clean:
rm -f $(BIN) $(OBJ) $(LIB) sbase-box sbase-$(VERSION).tar.gz
rm -f getconf.h
.PHONY: all install uninstall dist sbase-box sbase-box-install sbase-box-uninstall clean
.gitignore:
{ printf '*.o\n' ; printf '/%s\n' getconf.h $(LIB) $(BIN) ; } > $@
.PHONY: all install uninstall dist sbase-box sbase-box-install sbase-box-uninstall clean .gitignore