From d2898df7ef2efface44199067536f8b8749c0e7c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 1 Oct 2013 17:19:37 +0200 Subject: Reintroduce libpng and add libsamplerate. --- vst/Makefile.mingw32 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'vst/Makefile.mingw32') 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 -- cgit v1.2.3