]> granicus.if.org Git - php/commitdiff
Add clean target which removes standard targets
authorSascha Schumann <sas@php.net>
Sun, 10 Oct 1999 02:02:13 +0000 (02:02 +0000)
committerSascha Schumann <sas@php.net>
Sun, 10 Oct 1999 02:02:13 +0000 (02:02 +0000)
TSRM/build.mk
Zend/build.mk

index 1913b1f8c55641c1e25eb59905a5391e9a878431..aac1a8b982ae587aa4a5d69440e0392eafa63010 100644 (file)
@@ -16,7 +16,12 @@ makefile_am_files = Makefile.am
 makefile_in_files = $(makefile_am_files:.am=.in)
 makefile_files    = $(makefile_am_files:e.am=e)
 
-all: $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)
+targets = $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)
+
+all: $(targets)
+
+clean:
+       rm -f $(targets)
 
 $(LT_TARGETS):
        rm -f $(LT_TARGETS)
index 6df856331d189918472ef1d9bf001b040d9db2f5..6105ff12c474e5ee5b0b1a08852548cb19f751e0 100644 (file)
@@ -16,7 +16,12 @@ makefile_am_files = Makefile.am
 makefile_in_files = $(makefile_am_files:.am=.in)
 makefile_files    = $(makefile_am_files:e.am=e)
 
-all: $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)
+targets = $(makefile_in_files) $(LT_TARGETS) configure $(config_h_in)
+
+all: $(targets)
+
+clean:
+       rm -f $(targets)
 
 $(LT_TARGETS):
        rm -f $(LT_TARGETS)