exiv2/Makefile
2004-11-09 16:37:46 +00:00

47 lines
1.0 KiB
Makefile

# ***************************************************** -*- Makefile -*-
#
# AUTHOR(S): Andreas Huggel (ahu)
#
# RCS information
# $Name: $
# $Revision: 1.6 $
#
# Description:
# This makefile mainly forwards to makefiles in subdirectories.
#
# Restrictions:
# Requires GNU make.
#
.PHONY: all doc clean distclean maintainer-clean
all:
cd src && $(MAKE) $(MAKECMDGOALS)
cd doc && $(MAKE) $(MAKECMDGOALS)
doc:
cd doc && $(MAKE) $(MAKECMDGOALS)
clean:
cd src && $(MAKE) $(MAKECMDGOALS)
cd doc && $(MAKE) $(MAKECMDGOALS)
# `make distclean' also removes files created by configuring
# the program. Running `make all distclean' prepares the project
# for packaging.
distclean:
cd src && $(MAKE) $(MAKECMDGOALS)
cd doc && $(MAKE) $(MAKECMDGOALS)
rm -f config.h config.mk config.log config.status
rm -f configure.scan autoscan.log
rm -rf autom4te.cache/
rm -f *~ *.bak *#
# This removes almost everything, including the configure script!
maintainer-clean: distclean
rm -f configure
# Catch-all
%:
cd src && $(MAKE) $(MAKECMDGOALS)