Browse Source

Use -L. -lRack in standalone target for linking with libRack rather than adding libRack.so/dylib/dll to its objects.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
d768226759
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile View File

@@ -87,11 +87,11 @@ include compile.mk
ifdef ARCH_MAC
STANDALONE_LDFLAGS += $(MAC_SDK_FLAGS)
endif
STANDALONE_OBJECTS += $(TARGET)
STANDALONE_LDFLAGS += -L. -lRack
-include $(STANDALONE_DEPENDENCIES)

$(STANDALONE_TARGET): $(STANDALONE_OBJECTS) $(STANDALONE_SOURCES)
$(CXX) $(CXXFLAGS) -o $@ $^ $(STANDALONE_LDFLAGS)
$(STANDALONE_TARGET): $(STANDALONE_OBJECTS) $(STANDALONE_SOURCES) $(TARGET)
$(CXX) $(CXXFLAGS) -o $@ $(STANDALONE_OBJECTS) $(STANDALONE_SOURCES) $(STANDALONE_LDFLAGS)

# Convenience targets



Loading…
Cancel
Save