# Makefile for GNU make ifndef CXX CXX = g++ endif ifndef CXXFLAGS CXXFLAGS = -Wall -pedantic -O2 -I/usr/local/include -I.. -L/usr/local/lib endif export CXX export CXXFLAGS all: confparser mainparser utf8 confparser: FORCE @cd confparser ; $(MAKE) -e mainparser: FORCE @cd mainparser ; $(MAKE) -e utf8: FORCE @cd utf8 ; $(MAKE) -e FORCE: clean: @cd confparser ; $(MAKE) -e clean @cd mainparser ; $(MAKE) -e clean @cd utf8 ; $(MAKE) -e clean depend: @cd confparser ; $(MAKE) -e depend @cd mainparser ; $(MAKE) -e depend @cd utf8 ; $(MAKE) -e depend