etisserant@0: # include the system specific Makefile
etisserant@40: include ../Makefile.$(shell uname)
etisserant@0: 
etisserant@0: 
etisserant@0: 
etisserant@0: 
etisserant@0: default: all
etisserant@0: 
etisserant@0: all: stage4.o
etisserant@0: 
etisserant@0: clean:
etisserant@0: 	rm -f *.o
etisserant@0: 	find . -depth -mindepth 2 -maxdepth 2 -name Makefile -printf %h\\n | xargs -i make -C{} $@
etisserant@0: 
etisserant@0: 
etisserant@40: CXXFLAGS += -I. -I../*
etisserant@0: 
etisserant@0: #how to make things in subdirectories etc
etisserant@0: ../% /% absyntax/% stage1_2/% stage3/% stage4/% util/%:
etisserant@0: 	        $(MAKE) -C $(@D) $(@F)
etisserant@0: 
Lolitech@243: Makefile.depend depend:
Lolitech@243: 	$(CXX) -MM -MG -I. *.cc \
Lolitech@243: 	  | sed 's/:/ Makefile.depend:/' > Makefile.depend
Lolitech@243: 
Lolitech@243: include Makefile.depend