Added clean target

v0.27.3
Andreas Huggel 21 years ago
parent 62de167ce7
commit 82ea642dc5

@ -4,16 +4,16 @@
# #
# RCS information # RCS information
# $Name: $ # $Name: $
# $Revision: 1.3 $ # $Revision: 1.4 $
# #
# Description: # Description:
# This makefile just forwards to src/Makefile. # This makefile mainly forwards to makefiles in subdirectories.
# #
# Restrictions: # Restrictions:
# Requires GNU make. # Requires GNU make.
# #
.PHONY: all maintainer-clean doc .PHONY: all clean maintainer-clean doc
all %: all %:
cd src && $(MAKE) $(MAKECMDGOALS) cd src && $(MAKE) $(MAKECMDGOALS)
@ -21,9 +21,14 @@ all %:
doc: doc:
cd doc && $(MAKE) $(MAKECMDGOALS) cd doc && $(MAKE) $(MAKECMDGOALS)
maintainer-clean: clean:
cd src && $(MAKE) $(MAKECMDGOALS) cd src && $(MAKE) $(MAKECMDGOALS)
cd doc && $(MAKE) $(MAKECMDGOALS) # cd doc && $(MAKE) $(MAKECMDGOALS)
rm -f *~ *# rm -f config.h config.mk config.log config.status
rm -f config.h config.mk config.log configure
rm -rf autom4te.cache/ rm -rf autom4te.cache/
maintainer-clean: clean
cd src && $(MAKE) $(MAKECMDGOALS)
cd doc && $(MAKE) $(MAKECMDGOALS)
rm -f configure
rm -f *~ *.bak *#

Loading…
Cancel
Save