summaryrefslogtreecommitdiff
path: root/plugin/Makefile.mingw32.in
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-20 21:55:23 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-20 21:55:23 +0200
commit746de57f16482b49c8a25e1033257e6cde68b5cd (patch)
treeabfe523aef90b3799e7d7cdc76e42eb5d176db2b /plugin/Makefile.mingw32.in
parent607326257091dc6028b94888af1cfad96cd2ec17 (diff)
Fix resources on static windows build (Makefile.mingw32) and add note about remembering to add file to the mingw32 Makefile when we change the real Makefiles...
Diffstat (limited to 'plugin/Makefile.mingw32.in')
-rw-r--r--plugin/Makefile.mingw32.in27
1 files changed, 26 insertions, 1 deletions
diff --git a/plugin/Makefile.mingw32.in b/plugin/Makefile.mingw32.in
index 9614496..795f07a 100644
--- a/plugin/Makefile.mingw32.in
+++ b/plugin/Makefile.mingw32.in
@@ -128,9 +128,34 @@ SRC = \
@top_srcdir@/plugin/plugingizmo/pluginvst.cc \
drumgizmo_plugin.cc
+RES = \
+ resources/bg.png \
+ resources/bypass_button.png \
+ resources/font.png \
+ resources/fontemboss.png \
+ resources/knob.png \
+ resources/logo.png \
+ resources/png_error \
+ resources/progress.png \
+ resources/pushbutton.png \
+ resources/sidebar.png \
+ resources/slider.png \
+ resources/switch_back_off.png \
+ resources/switch_back_on.png \
+ resources/switch_front.png \
+ resources/tab.png \
+ resources/thinlistbox.png \
+ resources/topbar.png \
+ resources/toplogo.png \
+ resources/vertline.png \
+ resources/widget.png \
+ ../ABOUT \
+ ../AUTHORS \
+ ../COPYING
+
all:
g++ @top_srcdir@/plugingui/rcgen.cc -o @top_srcdir@/plugingui/rcgen
- (cd @top_srcdir@/plugingui/resources; ../rcgen * > ../resource_data.cc)
+ (cd @top_srcdir@/plugingui; ./rcgen $(RES) > resource_data.cc)
gcc $(DBG_CFLAGS) @top_srcdir@/hugin/hugin.c -c
gcc $(DBG_CFLAGS) @top_srcdir@/hugin/hugin_syslog.c -c
g++ $(CXXFLAGS) -std=c++11 -static -static-libgcc -O2 -g -Wall $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) $(VST_CFLAGS) hugin.o hugin_syslog.o $(DG_SRC) $(VST_SRC) ${SRC} ${GUI_SRC} ${GUI_CPPFLAGS} $(GUI_LIBS) $(EXPAT_CFLAGS) $(SRC_CFLAGS) $(ZITA_CXXFLAGS) $(EXPAT_LIBS) $(SNDFILE_CFLAGS) $(SNDFILE_LIBS) $(SRC_LIBS) $(ZITA_LIBS) -shared -o drumgizmo_vst.dll -Wl,--out-implib,libdrumgizmo_vst.a