stage4/Makefile
author edouard
Tue, 22 Feb 2011 15:19:41 +0100
changeset 246 e8b5b163804d
parent 243 bdfee1f5be9e
child 268 1eba01e3fb70
permissions -rwxr-xr-x
A forgotten case in type size getter switch prevented debugging outputs.
# include the system specific Makefile
include ../Makefile.$(shell uname)




default: all

all: stage4.o

clean:
	rm -f *.o
	find . -depth -mindepth 2 -maxdepth 2 -name Makefile -printf %h\\n | xargs -i make -C{} $@


CXXFLAGS += -I. -I../*

#how to make things in subdirectories etc
../% /% absyntax/% stage1_2/% stage3/% stage4/% util/%:
	        $(MAKE) -C $(@D) $(@F)

Makefile.depend depend:
	$(CXX) -MM -MG -I. *.cc \
	  | sed 's/:/ Makefile.depend:/' > Makefile.depend

include Makefile.depend