Mercurial > minori
comparison Makefile.am @ 243:ed5ab3896666
autotools: add `-mwindows` and windows deploy script
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 22 Jan 2024 19:54:41 -0800 |
parents | 82470f83f0c2 |
children | 6b2441c776dd |
comparison
equal
deleted
inserted
replaced
242:82470f83f0c2 | 243:ed5ab3896666 |
---|---|
89 endif | 89 endif |
90 | 90 |
91 if BUILD_WIN | 91 if BUILD_WIN |
92 files_win = src/sys/win32/dark_theme.cc | 92 files_win = src/sys/win32/dark_theme.cc |
93 libs_win = -lole32 -luuid | 93 libs_win = -lole32 -luuid |
94 ldflags_win = -mwindows | |
94 | 95 |
95 if BUILD_WINDRES | 96 if BUILD_WINDRES |
96 # Untested... | 97 # Untested... |
97 | 98 |
98 wrcflags_version = -DWRC_VERSION=0,`echo $(PACKAGE_VERSION) | sed 's/\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1,\2,\3/'` | 99 wrcflags_version = -DWRC_VERSION=0,`echo $(PACKAGE_VERSION) | sed 's/\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)\.\([0-9]\{1,\}\).*/\1,\2,\3/'` |
167 -I$(top_srcdir)/dep/anitomy \ | 168 -I$(top_srcdir)/dep/anitomy \ |
168 -I$(top_srcdir)/dep | 169 -I$(top_srcdir)/dep |
169 | 170 |
170 minori_CPPFLAGS = @LIBCURL_CPPFLAGS@ $(minori_includes) | 171 minori_CPPFLAGS = @LIBCURL_CPPFLAGS@ $(minori_includes) |
171 minori_CXXFLAGS = @QT_CXXFLAGS@ $(cflags_osx) $(cflags_glib) $(cflags_win) -std=c++17 | 172 minori_CXXFLAGS = @QT_CXXFLAGS@ $(cflags_osx) $(cflags_glib) $(cflags_win) -std=c++17 |
172 minori_LDFLAGS = $(ldflags_osx) | 173 minori_LDFLAGS = $(ldflags_osx) $(ldflags_win) |
173 | 174 |
174 minori_DEPENDENCIES = dep/pugixml/libpugixml.la dep/animia/libanimia.la dep/anitomy/libanitomy.la | 175 minori_DEPENDENCIES = dep/pugixml/libpugixml.la dep/animia/libanimia.la dep/anitomy/libanitomy.la |
175 minori_LDADD = $(libs_glib) $(libs_osx) $(libs_win) @LIBCURL@ @QT_LIBS@ dep/pugixml/libpugixml.la dep/animia/libanimia.la dep/anitomy/libanitomy.la | 176 minori_LDADD = $(libs_glib) $(libs_osx) $(libs_win) @LIBCURL@ @QT_LIBS@ dep/pugixml/libpugixml.la dep/animia/libanimia.la dep/anitomy/libanitomy.la |
176 | 177 |
177 .h_moc.cc: | 178 .h_moc.cc: |