summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a6866ab..e33f078 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ BINFILES = \
daemon \
emacsmail
-all: build
+all: build .gitignore
build: $(BINFILES)
@@ -40,3 +40,7 @@ clean:
%: %.php
cat $< >$@
chmod a+x $@
+
+.gitignore: Makefile
+ echo '*~' > $@
+ for file in $(BINFILES); do echo "$$file"; done >> $@