diff options
| author | Walker Thompson <walker.thompson@urz.uni-heidelberg.de> | 2026-05-22 12:17:49 +0000 |
|---|---|---|
| committer | Walker Thompson <walker.thompson@urz.uni-heidelberg.de> | 2026-05-22 12:17:49 +0000 |
| commit | b4e7b397e74e49927bbeab491c53b3cd440fdcce (patch) | |
| tree | 25875a643d96c94c9424d598bc6ec06acf78b4fc | |
| parent | 3d7ab959fb8fe8aec889650b20693ff88907f799 (diff) | |
| -rw-r--r-- | Makefile.MGW32 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.MGW32 b/Makefile.MGW32 index cd63e59..20adca3 100644 --- a/Makefile.MGW32 +++ b/Makefile.MGW32 @@ -14,11 +14,13 @@ 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 + OUT = transcode all: $(OUT) $(OUT): funcs.o wxgui.o pugixml/libpugixml.a - $(CXX) $(CXXFLAGS) funcs.o wxgui.o -L. -l:pugixml/libpugixml.a -o $(OUT).exe $(WXLDFLAGS) + $(CXX) $(CXXFLAGS) funcs.o wxgui.o -L. -l:pugixml/libpugixml.a -o $(OUT).exe $(LDFLAGS) mkdir -p release && cp -r $(OUT).exe $(MGWLIBS) $(WXLIBS) release pugixml/libpugixml.a: pugixml/pugixml.o |
