|
|
@@ -4,8 +4,6 @@ VERSION = 1.dev |
|
|
|
FLAGS += -DVERSION=$(VERSION) |
|
|
|
FLAGS += -Iinclude |
|
|
|
FLAGS += -Idep/include -Idep/lib/libzip/include |
|
|
|
FLAGS += -fopenmp |
|
|
|
LDFLAGS += -fopenmp |
|
|
|
|
|
|
|
include arch.mk |
|
|
|
|
|
|
@@ -20,8 +18,7 @@ SOURCES += $(wildcard src/*.cpp src/*/*.cpp) |
|
|
|
|
|
|
|
ifdef ARCH_MAC |
|
|
|
SOURCES += dep/osdialog/osdialog_mac.m |
|
|
|
CXXFLAGS += -stdlib=libc++ |
|
|
|
LDFLAGS += -stdlib=libc++ -lpthread -ldl \ |
|
|
|
LDFLAGS += -lpthread -ldl \ |
|
|
|
-framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo -framework CoreAudio -framework CoreMIDI \ |
|
|
|
-Ldep/lib dep/lib/libglfw3.a dep/lib/libGLEW.a dep/lib/libjansson.a dep/lib/libspeexdsp.a dep/lib/libzip.a dep/lib/libz.a dep/lib/librtaudio.a dep/lib/librtmidi.a dep/lib/libcrypto.a dep/lib/libssl.a dep/lib/libcurl.a |
|
|
|
TARGET := Rack |
|
|
@@ -29,6 +26,8 @@ ifdef ARCH_MAC |
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ARCH_WIN |
|
|
|
FLAGS += -fopenmp |
|
|
|
LDFLAGS += -fopenmp |
|
|
|
SOURCES += dep/osdialog/osdialog_win.c |
|
|
|
LDFLAGS += -static \ |
|
|
|
-Wl,--export-all-symbols,--out-implib,libRack.a -mwindows \ |
|
|
@@ -39,6 +38,8 @@ ifdef ARCH_WIN |
|
|
|
endif |
|
|
|
|
|
|
|
ifdef ARCH_LIN |
|
|
|
FLAGS += -fopenmp |
|
|
|
LDFLAGS += -fopenmp |
|
|
|
SOURCES += dep/osdialog/osdialog_gtk2.c |
|
|
|
CFLAGS += $(shell pkg-config --cflags gtk+-2.0) |
|
|
|
LDFLAGS += -rdynamic \ |
|
|
|