|
|
@@ -21,9 +21,11 @@ ifdef ARCH_LIN |
|
|
|
SOURCES += dep/osdialog/osdialog_gtk2.c |
|
|
|
build/dep/osdialog/osdialog_gtk2.c.o: FLAGS += $(shell pkg-config --cflags gtk+-2.0) |
|
|
|
|
|
|
|
LDFLAGS += -rdynamic -Wl,--whole-archive \ |
|
|
|
LDFLAGS += -rdynamic \ |
|
|
|
-Wl,--whole-archive \ |
|
|
|
dep/lib/libGLEW.a dep/lib/libglfw3.a dep/lib/libjansson.a dep/lib/libcurl.a dep/lib/libssl.a dep/lib/libcrypto.a dep/lib/libzip.a dep/lib/libz.a dep/lib/libspeexdsp.a dep/lib/libsamplerate.a dep/lib/librtmidi.a dep/lib/librtaudio.a \ |
|
|
|
-Wl,--no-whole-archive -lpthread -lGL -ldl -lX11 -lasound -ljack \ |
|
|
|
-Wl,--no-whole-archive \ |
|
|
|
-lpthread -lGL -ldl -lX11 -lasound -ljack \ |
|
|
|
$(shell pkg-config --libs gtk+-2.0) |
|
|
|
TARGET := Rack |
|
|
|
endif |
|
|
@@ -42,7 +44,9 @@ endif |
|
|
|
ifdef ARCH_WIN |
|
|
|
SOURCES += dep/osdialog/osdialog_win.c |
|
|
|
LDFLAGS += -Wl,--export-all-symbols,--out-implib,libRack.a -mwindows \ |
|
|
|
-Wl,--whole-archive \ |
|
|
|
dep/lib/libglew32.a dep/lib/libglfw3.a dep/lib/libjansson.a dep/lib/libspeexdsp.a dep/lib/libsamplerate.a dep/lib/libzip.a dep/lib/libz.a dep/lib/libcurl.a dep/lib/libssl.a dep/lib/libcrypto.a dep/lib/librtaudio.a dep/lib/librtmidi.a \ |
|
|
|
-Wl,--no-whole-archive \ |
|
|
|
-lpthread -lopengl32 -lgdi32 -lws2_32 -lcomdlg32 -lole32 -ldsound -lwinmm -lksuser -lshlwapi -lmfplat -lmfuuid -lwmcodecdspuuid -ldbghelp |
|
|
|
TARGET := Rack.exe |
|
|
|
OBJECTS += Rack.res |
|
|
|