summaryrefslogtreecommitdiff
path: root/vst
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-10-01 17:19:37 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-10-01 17:19:37 +0200
commitd2898df7ef2efface44199067536f8b8749c0e7c (patch)
treea19c858cabd9d0302f3e8010c1cd5af94bcf5422 /vst
parent209965bea3db4006eed27939619f4e228ec500ca (diff)
Reintroduce libpng and add libsamplerate.
Diffstat (limited to 'vst')
-rw-r--r--vst/Makefile.mingw328
1 files changed, 6 insertions, 2 deletions
diff --git a/vst/Makefile.mingw32 b/vst/Makefile.mingw32
index ea7b1e0..fcc4ead 100644
--- a/vst/Makefile.mingw32
+++ b/vst/Makefile.mingw32
@@ -96,7 +96,11 @@ SNDFILE_LIBS=-L${SNDFILE_BASE}/lib -lsndfile
PNG_BASE=${MSYS}
PNG_CFLAGS=-I${PNG_BASE}/include
-PNG_LIBS=-L${PNG_BASE}/lib -lz
+PNG_LIBS=-L${PNG_BASE}/lib -lpng -lz
+
+SRC_BASE=${MSYS}
+SRC_CFLAGS=-I${SRC_BASE}/include
+SRC_LIBS=-L${SRC_BASE}/lib -lsamplerate
SRC = \
drumgizmo_vst.cc \
@@ -137,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) $(EXPAT_LIBS) $(SNDFILE_CFLAGS) $(SNDFILE_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) $(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
clean:
del -f drumgizmo_vst.dll libdrumgizmo_vst.a