From a2bf9440d9b2c8ad5123098a8f166e872d16162e Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 4 Dec 2017 14:41:22 +0100 Subject: pretty wxglade.ICON for Windows targets --- src/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index b5b9b8e..d984a1a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,3 +15,12 @@ utool_SOURCES += \ UpdateGUI.cpp \ JobQueue.cpp endif + +if HAVE_WINDRES +utool_SOURCES += utool-res.rc + +.rc.o: + $(WINDRES) $^ -o $@ +.o : .rc + $(WINDRES) $^ -o $@ +endif -- cgit v1.2.3