Skip to content

Commit

Permalink
Fix order of linker args so libraries are searched after our object f…
Browse files Browse the repository at this point in the history
…iles
  • Loading branch information
albertvaka committed Jan 29, 2024
1 parent a9274de commit 781a0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ ifeq ($(strip $(IMGUI)),1)
endif

$(EXEC): $(OBJ) $(ENGINE_OBJ) $(GENERATED_OBJ) $(DEP_OBJ) Makefile
$(CXX) $(LDFLAGS) $(OBJ) $(GENERATED_OBJ) $(ENGINE_OBJ) $(DEP_OBJ) -o $(OUT_FILE)
$(CXX) $(OBJ) $(GENERATED_OBJ) $(ENGINE_OBJ) $(DEP_OBJ) $(LDFLAGS) -o $(OUT_FILE)

obj/engine/%.cpp.o: engine/%.cpp engine/*.h src/assets.h src/scene_entrypoint.h src/window_conf.h Makefile
@mkdir -p obj/engine
Expand Down

0 comments on commit 781a0b7

Please sign in to comment.