CC=gcc CPP=g++ #CFLAGS=-ggdb CXXFLAGS= MAKE=make OBJECTS=vertex.o polygon.o polyeder.o TEMPLATES=../helper/container.h ../helper/container_tpl.h TEMPLATES+=../math/Mmn.h ../math/Mmn_tpl.h ../math/V_K4.h ../math/V_K4_tpl.h %.o: %.c++ $(TEMPLATES) $(CPP) $(CFLAGS) $(CXXFLAGS) -c $*.c++ .PHONY : all clean all: $(OBJECTS) clean: @rm -f *.o