Skip to content

Commit

Permalink
Fixed an issue where earlier versions of Make did not like my Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
katemonster33 committed Feb 24, 2024
1 parent 509e7ca commit ceacc6e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1069,18 +1069,18 @@ $(ODIR)/%.inc: $(SRC_DIR)/%.cpp
includes: $(OBJS:.o=.inc)
+make -C tests includes

$(ODIR)/%.o: $(SRC_DIR)/%.cpp $(PCH_P)
$(CXX) $(CPPFLAGS) $(DEFINES) $(CXXFLAGS) -MMD -MP $(PCHFLAGS) -c $< -o $@

$(ODIR)/%.o: $(SRC_DIR)/%.rc
$(RC) $(RFLAGS) $< -o $@

$(ODIR)/third-party/imgui/%.o: $(IMGUI_DIR)/%.cpp
$(CXX) $(CPPFLAGS) $(DEFINES) $(CXXFLAGS) -w -MMD -MP -c $< -o $@

$(ODIR)/third-party/imtui/%.o: $(IMTUI_DIR)/%.cpp
$(CXX) $(CPPFLAGS) $(DEFINES) $(CXXFLAGS) -w -MMD -MP -c $< -o $@

$(ODIR)/%.o: $(SRC_DIR)/%.cpp $(PCH_P)
$(CXX) $(CPPFLAGS) $(DEFINES) $(CXXFLAGS) -MMD -MP $(PCHFLAGS) -c $< -o $@

$(ODIR)/%.o: $(SRC_DIR)/%.rc
$(RC) $(RFLAGS) $< -o $@

$(ODIR)/resource.o: data/cataicon.ico data/application_manifest.xml

src/version.h: version
Expand Down

0 comments on commit ceacc6e

Please sign in to comment.