Browse Source

Place automatic objects before user-defined objects in compile.mk

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

+ 3
- 3
compile.mk View File

@@ -37,9 +37,9 @@ CFLAGS += $(FLAGS)
CXXFLAGS += $(FLAGS) CXXFLAGS += $(FLAGS)




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




# Final targets # Final targets


Loading…
Cancel
Save