summaryrefslogtreecommitdiff
path: root/vst
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2014-05-02 16:30:08 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2014-05-02 16:30:08 +0200
commita5ea8e72059ec9fb7145c7117bd9ea77dee0eee7 (patch)
tree001f5f49d0c7b1dd096a5a69ac231d4925ac7e26 /vst
parent10923660851e14fc954dcb0917e9f50185ab401f (diff)
parent07471554a11d3bf5d275ebffe71682fd7d7440b0 (diff)
Merge branch 'master' of http://git.drumgizmo.org/drumgizmo
Diffstat (limited to 'vst')
-rw-r--r--vst/Makefile.mingw3211
1 files changed, 6 insertions, 5 deletions
diff --git a/vst/Makefile.mingw32 b/vst/Makefile.mingw32
index 1d764df..42377cd 100644
--- a/vst/Makefile.mingw32
+++ b/vst/Makefile.mingw32
@@ -66,7 +66,8 @@ GUI_SRC = \
$(top_srcdir)/plugingui/progressbar.cc \
$(top_srcdir)/plugingui/verticalline.cc \
$(top_srcdir)/plugingui/resource.cc \
- $(top_srcdir)/plugingui/resource_data.cc
+ $(top_srcdir)/plugingui/resource_data.cc \
+ $(top_srcdir)/plugingui/lodepng/lodepng.cpp
GUI_CFLAGS=-I../plugingui -DUSE_THREAD
GUI_LIBS=-lgdi32 -lsetupapi -lws2_32
@@ -93,9 +94,9 @@ SNDFILE_BASE=${MSYS}
SNDFILE_CFLAGS=-I${SNDFILE_BASE}/include
SNDFILE_LIBS=-L${SNDFILE_BASE}/lib -lsndfile
-PNG_BASE=${MSYS}
-PNG_CFLAGS=-I${PNG_BASE}/include
-PNG_LIBS=-L${PNG_BASE}/lib -lpng -lz
+ZLIB_BASE=${MSYS}
+ZLIB_CFLAGS=-I${ZLIB_BASE}/include
+ZLIB_LIBS=-L${ZLIB_BASE}/lib -lz
SRC_BASE=${MSYS}
SRC_CFLAGS=-I${SRC_BASE}/include
@@ -140,7 +141,7 @@ SRC = \
all:
gcc $(DBG_CFLAGS) $(top_srcdir)/hugin/hugin.c -c
gcc $(DBG_CFLAGS) $(top_srcdir)/hugin/hugin_syslog.c -c
- g++ -static -static-libgcc -O2 -g -Wall -DWIN32 $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) $(VST_CFLAGS) hugin.o hugin_syslog.o $(DG_SRC) $(VST_SRC) ${SRC} ${GUI_SRC} ${GUI_CFLAGS} $(GUI_LIBS) $(EXPAT_CFLAGS) $(PNG_CFLAGS) $(SRC_CFLAGS) $(EXPAT_LIBS) $(PNG_LIBS) $(SNDFILE_CFLAGS) $(SNDFILE_LIBS) $(SRC_LIBS) -shared -o drumgizmo_vst.dll -Wl,--out-implib,libdrumgizmo_vst.a
+ g++ -static -static-libgcc -O2 -g -Wall -DWIN32 $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) $(VST_CFLAGS) hugin.o hugin_syslog.o $(DG_SRC) $(VST_SRC) ${SRC} ${GUI_SRC} ${GUI_CFLAGS} $(GUI_LIBS) $(EXPAT_CFLAGS) $(ZLIB_CFLAGS) $(SRC_CFLAGS) $(EXPAT_LIBS) $(ZLIB_LIBS) $(SNDFILE_CFLAGS) $(SNDFILE_LIBS) $(SRC_LIBS) -shared -o drumgizmo_vst.dll -Wl,--out-implib,libdrumgizmo_vst.a
clean:
del -f drumgizmo_vst.dll libdrumgizmo_vst.a