Browse Source

Fix build with libraries in custom prefixes

pull/5/head
falkTX 7 years ago
parent
commit
08a1e73313
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      Makefile

+ 3
- 2
Makefile View File

@@ -10,9 +10,10 @@ SOURCES = $(wildcard src/*.cpp src/*/*.cpp) \
ifeq ($(ARCH), lin) ifeq ($(ARCH), lin)
SOURCES += ext/noc_file_dialog.c SOURCES += ext/noc_file_dialog.c
CFLAGS += -DNOC_FILE_DIALOG_GTK $(shell pkg-config --cflags gtk+-2.0) CFLAGS += -DNOC_FILE_DIALOG_GTK $(shell pkg-config --cflags gtk+-2.0)
CXXFLAGS += $(shell pkg-config --cflags glew glfw3 jansson samplerate libcurl libzip)
LDFLAGS += -rdynamic \ LDFLAGS += -rdynamic \
-lpthread -lGL -lGLEW -lglfw -ldl -ljansson -lportaudio -lportmidi -lsamplerate -lcurl -lzip \
$(shell pkg-config --libs gtk+-2.0)
-lpthread -lGL -ldl -lportaudio -lportmidi \
$(shell pkg-config --libs gtk+-2.0 glew glfw3 jansson samplerate libcurl libzip)
TARGET = Rack TARGET = Rack
endif endif




Loading…
Cancel
Save