summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-02-23 20:13:26 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2018-02-23 20:17:10 +0100
commit718e8db44d984a97c032dccfe95e3f4707c0835a (patch)
tree6cc84c95229c31df00f1323509115ca0cbe7cd92
parent260511a8a5f68e83c3bdfd7b28f5f235353da9cd (diff)
Compile resource_data separately on mingw to (hopefully) improve compilation speed.
-rw-r--r--plugin/Makefile.mingw32.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/Makefile.mingw32.in b/plugin/Makefile.mingw32.in
index 61766bd..3fe5933 100644
--- a/plugin/Makefile.mingw32.in
+++ b/plugin/Makefile.mingw32.in
@@ -82,7 +82,6 @@ GUI_SRC = \
@top_srcdir@/plugingui/progressbar.cc \
@top_srcdir@/plugingui/resamplingframecontent.cc \
@top_srcdir@/plugingui/resource.cc \
- @top_srcdir@/plugingui/resource_data.cc \
@top_srcdir@/plugingui/scrollbar.cc \
@top_srcdir@/plugingui/slider.cc \
@top_srcdir@/plugingui/stackedwidget.cc \
@@ -160,9 +159,10 @@ RES = \
all:
g++ @top_srcdir@/plugingui/rcgen.cc -o @top_srcdir@/plugingui/rcgen
(cd @top_srcdir@/plugingui; ./rcgen $(RES) > resource_data.cc)
+ g++ @top_srcdir@/plugingui/resource_data.cc -c
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) -latomic -shared -o drumgizmo_vst.dll -Wl,--out-implib,libdrumgizmo_vst.a
+ g++ $(CXXFLAGS) -std=c++11 -static -static-libgcc -O2 -g -Wall $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) $(VST_CFLAGS) hugin.o hugin_syslog.o resource_data.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) -latomic -shared -o drumgizmo_vst.dll -Wl,--out-implib,libdrumgizmo_vst.a
clean:
del -f drumgizmo_vst.dll libdrumgizmo_vst.a