aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2015-12-04 11:59:11 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2015-12-04 11:59:11 +0900
commit140e77e4c56a2eca483355bbdb26c0141a1332ae (patch)
tree109210d6bd808572a9ddafd3915cd6bf721bdac4
parentb1cc4492f5c70343637c19774f26a3ed1e6bb096 (diff)
downloadvim-sonictemplate-140e77e4c56a2eca483355bbdb26c0141a1332ae.tar.gz
vim-sonictemplate-140e77e4c56a2eca483355bbdb26c0141a1332ae.tar.bz2
vim-sonictemplate-140e77e4c56a2eca483355bbdb26c0141a1332ae.zip
add .SUFFIXES
-rw-r--r--template/make/base-c.mak2
-rw-r--r--template/make/base-cpp.mak2
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)