Permalink
Browse files

Makefile: proper clean and distclean targets

  • Loading branch information...
wmark committed Mar 22, 2010
1 parent 89bf31f commit 41f6f848b3bd14d7a22f077fec04060b3d674a6e
Showing with 8 additions and 1 deletion.
  1. +8 −1 Makefile.in
View
@@ -1,3 +1,5 @@
+.PHONY: clean distclean
+
all: fcgiwrap
install: all
[ -f /usr/local/bin/fcgiwrap ] && mv /usr/local/bin/fcgiwrap /usr/local/bin/fcgiwrap~
@@ -7,6 +9,11 @@ install: all
fcgiwrap: fcgiwrap.c
@CC@ @AM_CFLAGS@ fcgiwrap.c -o fcgiwrap -lfcgi
+#>+ 21
clean:
- -rm fcgiwrap
+ -rm -f fcgiwrap
+#>+ 21
+distclean: clean
+ -rm -rf config.log config.status autom4te.cache
+ -rm -f configure Makefile

0 comments on commit 41f6f84

Please sign in to comment.