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