From 3567a370e0982ee138d642f7c619115469d33948 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 26 Sep 2021 15:06:17 -0400 Subject: [PATCH] Switch back to linking direct libRack.so/dylib/dll path. Reorder standalone objects and sources. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bf0e09b4..f4fcebc9 100644 --- a/Makefile +++ b/Makefile @@ -87,11 +87,11 @@ include compile.mk ifdef ARCH_MAC STANDALONE_LDFLAGS += $(MAC_SDK_FLAGS) endif -STANDALONE_LDFLAGS += -L. -lRack +STANDALONE_OBJECTS += $(TARGET) -include $(STANDALONE_DEPENDENCIES) -$(STANDALONE_TARGET): $(STANDALONE_OBJECTS) $(STANDALONE_SOURCES) $(TARGET) - $(CXX) $(CXXFLAGS) -o $@ $(STANDALONE_OBJECTS) $(STANDALONE_SOURCES) $(STANDALONE_LDFLAGS) +$(STANDALONE_TARGET): $(STANDALONE_SOURCES) $(STANDALONE_OBJECTS) + $(CXX) $(CXXFLAGS) -o $@ $^ $(STANDALONE_LDFLAGS) # Convenience targets