From 9c385f9a366da308d2a37ad5deda5d40f9285abb Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Thu, 3 Jan 2019 23:57:56 +0100 Subject: extend compatibility to Win95 RTM, NT3.1 and Win32s Only NT3.51 actually works mostly right, all others suffer from various kinds of breakage. Running a 3.1-compatible binary on newer windows enables some kind of compatibility mode with bizarro background brushes and weirdly sized combo boxes. Going forward, I'm committed to keep NT3.51 running as long as Win95RTM is supported. The future of NT3.1 and Win32s support is uncertain. --- Makefile.vc6-nt31 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Makefile.vc6-nt31 (limited to 'Makefile.vc6-nt31') diff --git a/Makefile.vc6-nt31 b/Makefile.vc6-nt31 new file mode 100644 index 0000000..339a91f --- /dev/null +++ b/Makefile.vc6-nt31 @@ -0,0 +1,36 @@ +# automatically created by makemakefile.sh. DO NOT EDIT! + +CXX = cl.exe +CFLAGS = -O2 -GA -W3 -DUNICODE -D_UNICODE -D_WIN32=0x0501 -D_WIN32_WINNT=0x0501 -D_WIN32_IE=0x0501 -nologo +LDFLAGS = /link /subsystem:windows,3.10 /entry:_entry kernel32.lib user32.lib comctl32.lib shell32.lib gdi32.lib version.lib + +out/widgetfactory.exe: out/widgetfactory.obj out/alfbutton.obj out/alfcombobox.obj out/alfcompat.obj out/alf.obj out/alfdpiaware.obj out/alfedit.obj out/alflabel.obj + $(CXX) $(CFLAGS) -Fe$@ $** $(LDFLAGS) + +out/alfbutton.obj: alf/alfbutton.cpp alf/alfcompat.h alf/alf.h alf/alflist.h alf/alfpriv.h + $(CXX) $(CFLAGS) -c -Fo$@ alf/alfbutton.cpp + +out/alfcombobox.obj: alf/alfcombobox.cpp alf/alfcompat.h alf/alf.h alf/alflist.h alf/alfpriv.h + $(CXX) $(CFLAGS) -c -Fo$@ alf/alfcombobox.cpp + +out/alfcompat.obj: alf/alfcompat.cpp alf/alfcompat.h alf/alf.h alf/alflist.h alf/alfpriv.h + $(CXX) $(CFLAGS) -c -Fo$@ alf/alfcompat.cpp + +out/alf.obj: alf/alf.cpp alf/alfcompat.h alf/alf.h alf/alflist.h alf/alfpriv.h + $(CXX) $(CFLAGS) -c -Fo$@ alf/alf.cpp + +out/alfdpiaware.obj: alf/alfdpiaware.cpp alf/alfcompat.h alf/alf.h alf/alflist.h alf/alfpriv.h + $(CXX) $(CFLAGS) -c -Fo$@ alf/alfdpiaware.cpp + +out/alfedit.obj: alf/alfedit.cpp alf/alfcompat.h alf/alf.h alf/alflist.h alf/alfpriv.h + $(CXX) $(CFLAGS) -c -Fo$@ alf/alfedit.cpp + +out/alflabel.obj: alf/alflabel.cpp alf/alfcompat.h alf/alf.h alf/alflist.h alf/alfpriv.h + $(CXX) $(CFLAGS) -c -Fo$@ alf/alflabel.cpp + +out/widgetfactory.obj: widgetfactory.cpp alf/alf.h + $(CXX) $(CFLAGS) -c -Fo$@ widgetfactory.cpp + +clean: + del /f out\*.obj out\*.exe + -- cgit v1.2.3