summaryrefslogtreecommitdiff
path: root/plugingui/Makefile.am.plugingui
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-11-22 20:19:26 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-01-21 14:51:30 +0100
commit8976d1106ac40e74b7bdc4d0401003126cee53d8 (patch)
tree2e898ba8e03f7ef0928c64591b8ae797951f67f4 /plugingui/Makefile.am.plugingui
parent7127a38c7c15c6898dae3ac4ade2095e9daec29d (diff)
Generate resource_data.cc in build system.
Diffstat (limited to 'plugingui/Makefile.am.plugingui')
-rw-r--r--plugingui/Makefile.am.plugingui3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/Makefile.am.plugingui b/plugingui/Makefile.am.plugingui
index eb3b96d..0e48f29 100644
--- a/plugingui/Makefile.am.plugingui
+++ b/plugingui/Makefile.am.plugingui
@@ -39,6 +39,9 @@ PLUGIN_GUI_SOURCES = \
$(top_srcdir)/plugingui/resource_data.cc \
$(top_srcdir)/plugingui/lodepng/lodepng.cpp
+$(top_srcdir)/plugingui/resource_data.cc : $(top_srcdir)/plugingui/rcgen
+ (cd $(top_srcdir)/plugingui/resources; ../rcgen * > ../resource_data.cc)
+
PLUGIN_GUI_LIBS = $(GUI_LIBS) $(PTHREAD_LIBS)
PLUGIN_GUI_CPPFLAGS = \