1 2 3 4 5 6 7 8 9 10 11 12
LEVEL = ../../make CXX_SOURCES := main.cpp other.cpp other-2.cpp C_SOURCES := somefunc.c include $(LEVEL)/Makefile.rules other-2.o: other-2.cpp $(CXX) $(CFLAGS_NO_DEBUG) -c other-2.cpp somefunc.o: somefunc.c $(CC) $(CFLAGS) -std=c99 -c somefunc.c