diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-18 14:58:06 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-18 14:58:06 +0200 |
commit | 2d106c7fd8bd4ac12352fd63c2e30f514aa44301 (patch) | |
tree | 7038bd3d07c5010e624ad7a340700b2dd29eb29a /vst/Makefile.mingw32 | |
parent | e1b7a451dcf14a52720abcb93781baa3ca64dcde (diff) |
Windows only Makefile. New makefile for dist.
Diffstat (limited to 'vst/Makefile.mingw32')
-rw-r--r-- | vst/Makefile.mingw32 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/vst/Makefile.mingw32 b/vst/Makefile.mingw32 new file mode 100644 index 0000000..31475eb --- /dev/null +++ b/vst/Makefile.mingw32 @@ -0,0 +1,47 @@ +ARCH=-DWIN32 +DLL=dll + +VST_BASE = vstsdk2.4 +VST_SRC_BASE = ${VST_BASE}/public.sdk/source/vst2.x/ +VST_SRC = \ + ${VST_SRC_BASE}/audioeffectx.cpp \ + ${VST_SRC_BASE}/audioeffect.cpp \ + ${VST_SRC_BASE}/vstplugmain.cpp + +DG_BASE = ../ +DG_SRC = \ + ${DG_BASE}/src/audiofile.cc \ + ${DG_BASE}/src/channel.cc \ + ${DG_BASE}/src/channelmixer.cc \ + ${DG_BASE}/src/configuration.cc \ + ${DG_BASE}/src/drumgizmo.cc \ + ${DG_BASE}/src/drumkit.cc \ + ${DG_BASE}/src/drumkitparser.cc \ + ${DG_BASE}/src/events.cc \ + ${DG_BASE}/src/instrument.cc \ + ${DG_BASE}/src/instrumentparser.cc \ + ${DG_BASE}/src/midimapparser.cc \ + ${DG_BASE}/src/midimapper.cc \ + ${DG_BASE}/src/mutex.cc \ + ${DG_BASE}/src/path.cc \ + ${DG_BASE}/src/sample.cc \ + ${DG_BASE}/src/saxparser.cc \ + ${DG_BASE}/src/velocity.cc +DG_FLAGS = -I../include -I../src + +EXPAT_BASE = expat +EXPAT_FLAGS = -I${EXPAT_BASE}/Source/lib -L${EXPAT_BASE}/Bin -lexpat + +SNDFILE_BASE = libsndfile +SNDFILE_FLAGS = -I${SNDFILE_BASE}\include -L${SNDFILE_BASE}/bin -lsndfile-1 -static + +SRC = \ + drumgizmo_vst.cc \ + input_vst.cc \ + output_vst.cc + +all: + g++ -g -Wall ${ARCH} ${DG_FLAGS} ${EXPAT_FLAGS} ${SNDFILE_FLAGS} -I${VST_BASE} ${DG_SRC} ${VST_SRC} ${SRC} -shared -o drumgizmo_vst.${DLL} -Wl,--out-implib,libdrumgizmo_vst.a + +clean: + rm -f drumgizmo_vst.dll libdrumgizmo_vst.a
\ No newline at end of file |