You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.0 KiB
Makefile

22 years ago
# ***************************************************** -*- Makefile -*-
#
# AUTHOR(S): Andreas Huggel (ahu)
#
# RCS information
# $Name: $
21 years ago
# $Revision: 1.6 $
22 years ago
#
# Description:
# This makefile mainly forwards to makefiles in subdirectories.
22 years ago
#
# Restrictions:
# Requires GNU make.
#
.PHONY: all doc clean distclean maintainer-clean
22 years ago
all:
22 years ago
cd src && $(MAKE) $(MAKECMDGOALS)
cd doc && $(MAKE) $(MAKECMDGOALS)
22 years ago
doc:
cd doc && $(MAKE) $(MAKECMDGOALS)
clean:
22 years ago
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
21 years ago
rm -f configure.scan autoscan.log
21 years ago
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)