diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-02 19:04:28 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-01-21 14:51:32 +0100 |
commit | e1ff098df5bfbc7c02a3bf522ffaad2998f0010a (patch) | |
tree | 757209af625a82d9305b610139b86fda402126f6 | |
parent | 9ec1bcd8d497eb20aea4a4ba89c4816051bc5040 (diff) |
Compile plugingui.exe with correct lodepng defines and re-enable hungin support.
-rw-r--r-- | plugingui/Makefile.mingw32 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/plugingui/Makefile.mingw32 b/plugingui/Makefile.mingw32 index 33a8f54..50c8fad 100644 --- a/plugingui/Makefile.mingw32 +++ b/plugingui/Makefile.mingw32 @@ -4,7 +4,7 @@ DG_SRC = \ ../src/semaphore.cc \ ../src/mutex.cc -DG_CFLAGS = -I.. -I../include -I../src -DSSE -msse -msse2 -DDISABLE_HUGIN +DG_CFLAGS = -I.. -I../include -I../src -DSSE -msse -msse2 GUI_SRC = \ testmain.cc \ @@ -53,15 +53,18 @@ GUI_CFLAGS=-DUSE_THREAD -DWIN32 -DSTANDALONE GUI_LIBS=-lgdi32 -lsetupapi -lws2_32 DBG_SRC = \ - ../hugin/hugin.c \ - ../hugin/hugin_syslog.c - -DBG_CFLAGS=-I../hugin -DWITH_HUG_SYSLOG -DWITH_HUG_MUTEX -DDISABLE_HUGIN + ../hugin/hugin.c +DBG_CFLAGS=-I../hugin -DWITH_HUG_MUTEX +LODEPNG_CFLAGS = \ + -DLODEPNG_NO_COMPILE_ENCODER \ + -DLODEPNG_NO_COMPILE_DISK \ + -DLODEPNG_NO_COMPILE_ANCILLARY_CHUNKS \ + -DLODEPNG_NO_COMPILE_ERROR_TEXT \ + -DLODEPNG_NO_COMPILE_CPP all: gcc $(DBG_CFLAGS) ../hugin/hugin.c -c - gcc $(DBG_CFLAGS) ../hugin/hugin_syslog.c -c - g++ -std=c++11 -static -static-libgcc -O2 -g -Wall $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) hugin.o hugin_syslog.o $(DG_SRC) ${GUI_SRC} ${GUI_CFLAGS} $(GUI_LIBS) -o plugingui.exe + g++ -std=c++11 -static -static-libgcc -O0 -g -Wall $(LODEPNG_CFLAGS) $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) hugin.o $(DG_SRC) ${GUI_SRC} ${GUI_CFLAGS} $(GUI_LIBS) -o plugingui.exe clean: del -f drumgizmo_vst.dll libdrumgizmo_vst.a |