diff options
Diffstat (limited to 'template/make')
-rw-r--r-- | template/make/base-c.mak | 2 | ||||
-rw-r--r-- | template/make/base-cpp.mak | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/template/make/base-c.mak b/template/make/base-c.mak index 48c2777..9a1de00 100644 --- a/template/make/base-c.mak +++ b/template/make/base-c.mak @@ -10,6 +10,8 @@ ifeq ($(OS),Windows_NT) TARGET := $(TARGET).exe endif +.SUFFIXES: .c .o + all : $(TARGET) $(TARGET) : $(OBJS) diff --git a/template/make/base-cpp.mak b/template/make/base-cpp.mak index 07e2269..4410813 100644 --- a/template/make/base-cpp.mak +++ b/template/make/base-cpp.mak @@ -10,6 +10,8 @@ ifeq ($(OS),Windows_NT) TARGET := $(TARGET).exe endif +.SUFFIXES: .cpp .cxx .o + all : $(TARGET) $(TARGET) : $(OBJS) |