diff options
| author | Sascha Schumann <sas@php.net> | 1999-10-10 02:02:13 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-10-10 02:02:13 +0000 |
| commit | ea567a73f1cde72faffe5736027daefefaaad914 (patch) | |
| tree | 19da875b8ded92c10f8efdacaa8cf25980437046 | |
| parent | f2608c3fdb0e417506b04c14e53b5b89c3b9070e (diff) | |
| download | php-git-ea567a73f1cde72faffe5736027daefefaaad914.tar.gz | |
Add clean target which removes standard targets
| -rw-r--r-- | TSRM/build.mk | 7 | ||||
| -rw-r--r-- | Zend/build.mk | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/TSRM/build.mk b/TSRM/build.mk index 1913b1f8c5..aac1a8b982 100644 --- a/TSRM/build.mk +++ b/TSRM/build.mk @@ -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) diff --git a/Zend/build.mk b/Zend/build.mk index 6df856331d..6105ff12c4 100644 --- a/Zend/build.mk +++ b/Zend/build.mk @@ -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) |
