diff options
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common.mk b/common.mk new file mode 100644 index 0000000..70243c5 --- /dev/null +++ b/common.mk @@ -0,0 +1,8 @@ +# common.mk -- common rules + +.c.o: + $(E) " CC " $@ + $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< +.cpp.o: + $(E) " CXX " $@ + $(Q) $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $< |