Add clean target which removes standard targets

This commit is contained in:
Sascha Schumann 1999-10-10 02:02:13 +00:00
parent f2608c3fdb
commit ea567a73f1
2 changed files with 12 additions and 2 deletions

View 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)

View 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)