stage4/Makefile
author Mario de Sousa <msousa@fe.up.pt>
Mon, 04 Apr 2011 14:32:21 +0100
changeset 274 8d36d1f81170
parent 268 1eba01e3fb70
child 279 c0453b7f99df
permissions -rwxr-xr-x
New version of bistable.txt - due to license issues.
# 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 | sed 's/Makefile//g' | xargs -I {} make -C{} clean


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