Skip to content
Snippets Groups Projects
Commit 2e986c51 authored by Mark Haines's avatar Mark Haines
Browse files

Don't use $^ cause that includes the header files

parent 83ce8270
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment