Permalink
Browse files

Add clean target which removes standard targets

  • Loading branch information...
1 parent f2608c3 commit ea567a73f1cde72faffe5736027daefefaaad914 Sascha Schumann committed Oct 10, 1999
Showing with 12 additions and 2 deletions.
  1. +6 −1 TSRM/build.mk
  2. +6 −1 Zend/build.mk
View
@@ -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)
View
@@ -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)

0 comments on commit ea567a7

Please sign in to comment.