.PHONEY: all compile the_examples test clean

all:	compile	the_examples

compile:
	make -C src $(MAKECMDGOALS)

the_examples:
	make -C examples $(MAKECMDGOALS)

test:
	make -C bin $(MAKECMDGOALS)

clean:
	make -C src $(MAKECMDGOALS)
	make -C bin $(MAKECMDGOALS)
	make -C examples $(MAKECMDGOALS)
	rm -f *.d *.so

edit:
	emacs emacs examples/*.cpp src/*.cpp bin/*.cpp bin/*.h Mt2/*.h &
