diff options
| author | Walker Thompson <walker.thompson@urz.uni-heidelberg.de> | 2026-06-03 21:30:13 +0200 |
|---|---|---|
| committer | Walker Thompson <walker.thompson@urz.uni-heidelberg.de> | 2026-06-03 21:30:13 +0200 |
| commit | 7a14b7207dbe7153c3eba2e52e722c06f4d9febf (patch) | |
| tree | 51b198be8636a860cef4432f6dd0ef068eb9336a /Makefile.MGW32 | |
| parent | 25b73b9e3afe877b08816a6eaab5c1e95b5cadfd (diff) | |
Diffstat (limited to 'Makefile.MGW32')
| -rw-r--r-- | Makefile.MGW32 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.MGW32 b/Makefile.MGW32 index 5052028..f80e8fe 100644 --- a/Makefile.MGW32 +++ b/Makefile.MGW32 @@ -14,9 +14,11 @@ WXINCLUDES = -Iwxmsw/include/x86_64-w64-mingw32-msw-unicode-3.2 -Iwxmsw/include WXFLAGS = -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMSW__ -pthread $(WXINCLUDES) CXXFLAGS = -static -std=c++11 -lwinpthread -I/usr/lib/gcc/x86_64-w64-mingw32/12-win32/include $(WXFLAGS) +LDFLAGS = $(WXLDFLAGS) -Wl,-subsystem,windows -mwindows + all: translit translit: translit.cpp - $(CXX) $(CXXFLAGS) -o translit.exe translit.cpp $(WXLDFLAGS) + $(CXX) $(CXXFLAGS) -o translit.exe translit.cpp $(LDFLAGS) mkdir -p release && cp -r translit.exe $(MGWLIBS) $(WXLIBS) release .PHONY: clean |
