summaryrefslogtreecommitdiff
path: root/vst/Makefile.mingw32
diff options
context:
space:
mode:
Diffstat (limited to 'vst/Makefile.mingw32')
-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