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