diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-05-23 16:23:57 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-05-23 16:23:57 +0100 |
commit | 2e986c512e55d62935d496b5c6adac65421e7b69 (patch) | |
tree | 2ac2d13462d8fed69fab730e831513d5c7efc194 /Makefile | |
parent | 83ce82708e6fafc210d0f359fcb9cd767974f1e3 (diff) |
Don't use $^ cause that includes the header files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |