Adds .PHONY exactly before corresponding target.
--- a/Makefile Wed Jan 13 22:06:21 2010 +0200
+++ b/Makefile Wed Jan 13 22:09:26 2010 +0200
@@ -1,5 +1,8 @@
SHELL = /bin/sh
+.PHONY: all
+all:
+
ifeq '' '$(HOME)'
$(error HOME env var not set!)
endif
@@ -9,8 +12,6 @@
host_os = windows
endif
-.PHONY: all install uninstall clean distclean
-
ALL_DIR = all
LINUX_DIR = linux
WIN_DIR = win
@@ -22,6 +23,7 @@
DIRS = all win
endif
+.PHONY: install
install:
for srcdir in $(DIRS); do \
for item in `cd $$srcdir; find $$PWD -type f`; do \
@@ -35,10 +37,13 @@
done; \
done
+.PHONY: uninstall
uninstall:
rm -f $(HOME)/.mailsign
+.PHONY: clean
clean:
+.PHONY: distclean
distclean: clean