# ***************************************************** -*- Makefile -*-
#
# AUTHOR(S): Andreas Huggel (ahu)
#
# RCS information
#  Exiv2-0_5_040913
#  1.6
#
# Description:
#  This makefile mainly forwards to makefiles in subdirectories.
#
# Restrictions:
#  Requires GNU make.
#

.PHONY: all clean doc

all %:
	cd src && $(MAKE) $(MAKECMDGOALS)

doc:
	cd doc && $(MAKE) $(MAKECMDGOALS)

clean:
	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 *#
