Browse Source

Revert "Fix order of OBJECTS prerequisites"

This reverts commit 1d11d473f1.
tags/v0.6.0
Andrew Belt 6 years ago
parent
commit
4dfd0f78c3
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
SOURCE_OBJECTS := $(patsubst %, build/%.o, $(SOURCES))
OBJECTS := $(patsubst %, build/%.o, $(SOURCES)) $(OBJECTS)
DEPS := $(patsubst %, build/%.d, $(SOURCES))


# Final targets

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

-include $(DEPS)



Loading…
Cancel
Save