Browse Source

Fix missing noc_file_dialog.c file

pull/5/head
falkTX 7 years ago
parent
commit
e63617af9b
2 changed files with 5 additions and 3 deletions
  1. +3
    -3
      Makefile
  2. +2
    -0
      ext/noc_file_dialog.c

+ 3
- 3
Makefile View File

@@ -8,7 +8,7 @@ SOURCES = $(wildcard src/*.cpp src/*/*.cpp) \




ifeq ($(ARCH), lin) ifeq ($(ARCH), lin)
SOURCES += ext/noc/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)
LDFLAGS += -rdynamic \ LDFLAGS += -rdynamic \
-lpthread -lGL -lGLEW -lglfw -ldl -ljansson -lportaudio -lportmidi -lsamplerate -lcurl -lzip \ -lpthread -lGL -lGLEW -lglfw -ldl -ljansson -lportaudio -lportmidi -lsamplerate -lcurl -lzip \
@@ -17,7 +17,7 @@ TARGET = Rack
endif endif


ifeq ($(ARCH), mac) ifeq ($(ARCH), mac)
SOURCES += ext/noc/noc_file_dialog.m
SOURCES += ext/noc_file_dialog.m
CFLAGS += -DNOC_FILE_DIALOG_OSX CFLAGS += -DNOC_FILE_DIALOG_OSX
CXXFLAGS += -DAPPLE -stdlib=libc++ -I$(HOME)/local/include -I/usr/local/lib/libzip/include CXXFLAGS += -DAPPLE -stdlib=libc++ -I$(HOME)/local/include -I/usr/local/lib/libzip/include
LDFLAGS += -stdlib=libc++ -L$(HOME)/local/lib -lpthread -lglew -lglfw3 -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo -ldl -ljansson -lportaudio -lportmidi -lsamplerate -lcurl -lzip LDFLAGS += -stdlib=libc++ -L$(HOME)/local/lib -lpthread -lglew -lglfw3 -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo -ldl -ljansson -lportaudio -lportmidi -lsamplerate -lcurl -lzip
@@ -25,7 +25,7 @@ TARGET = Rack
endif endif


ifeq ($(ARCH), win) ifeq ($(ARCH), win)
SOURCES += ext/noc/noc_file_dialog.c
SOURCES += ext/noc_file_dialog.c
CFLAGS += -DNOC_FILE_DIALOG_WIN32 CFLAGS += -DNOC_FILE_DIALOG_WIN32
CXXFLAGS += -DGLEW_STATIC \ CXXFLAGS += -DGLEW_STATIC \
-I$(HOME)/pkg/portaudio-r1891-build/include -I/mingw64/lib/libzip/include -I$(HOME)/local/include -I$(HOME)/pkg/portaudio-r1891-build/include -I/mingw64/lib/libzip/include -I$(HOME)/local/include


+ 2
- 0
ext/noc_file_dialog.c View File

@@ -0,0 +1,2 @@
#define NOC_FILE_DIALOG_IMPLEMENTATION
#include "noc/noc_file_dialog.h"

Loading…
Cancel
Save