Browse Source

Reorder OBJECTS again

tags/v0.6.0
Andrew Belt 6 years ago
parent
commit
51c3a8e407
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      compile.mk

+ 3
- 3
compile.mk View File

@@ -43,14 +43,14 @@ CXXFLAGS += $(FLAGS)




# Derive object files from sources and place them before user-defined objects # Derive object files from sources and place them before user-defined objects
OBJECTS += $(patsubst %, build/%.o, $(SOURCES))
SOURCE_OBJECTS += $(patsubst %, build/%.o, $(SOURCES))
DEPENDENCIES := $(patsubst %, build/%.d, $(SOURCES)) DEPENDENCIES := $(patsubst %, build/%.d, $(SOURCES))




# Final targets # Final targets


$(TARGET): $(RESOURCES) $(OBJECTS)
$(CXX) -o $@ $(OBJECTS) $(LDFLAGS)
$(TARGET): $(RESOURCES) $(OBJECTS) $(SOURCE_OBJECTS)
$(CXX) -o $@ $(SOURCE_OBJECTS) $(OBJECTS) $(LDFLAGS)


-include $(DEPENDENCIES) -include $(DEPENDENCIES)




Loading…
Cancel
Save