From 140e77e4c56a2eca483355bbdb26c0141a1332ae Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Fri, 4 Dec 2015 11:59:11 +0900 Subject: add .SUFFIXES --- template/make/base-c.mak | 2 ++ template/make/base-cpp.mak | 2 ++ 2 files changed, 4 insertions(+) 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) -- cgit v1.2.3-54-g00ecf