From 2e986c512e55d62935d496b5c6adac65421e7b69 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Mon, 23 May 2016 16:23:57 +0100 Subject: Don't use $^ cause that includes the header files --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8e5964c..29fd076 100644 --- a/Makefile +++ b/Makefile @@ -134,10 +134,10 @@ $(BUILD_DIR)/javascript/%.js.bc: src/%.cpp | makedirs $(EMCC.cc) $(OUTPUT_OPTION) $< $(BUILD_DIR)/tests/%: tests/%.c $(DEBUG_OBJECTS) - $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ + $(LINK.c) $< $(DEBUG_OBJECTS) $(LOADLIBES) $(LDLIBS) -o $@ $(BUILD_DIR)/tests/%: tests/%.cpp $(DEBUG_OBJECTS) - $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ + $(LINK.cc) $< $(DEBUG_OBJECTS) $(LOADLIBES) $(LDLIBS) -o $@ ### dependencies -- cgit v1.2.3