summaryrefslogtreecommitdiff
path: root/makemakefile.sh
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-04-28 10:52:16 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-04-28 10:52:16 +0200
commit7bc8d9583e0c088c42d5bbf0ecbada77c7cb8bd1 (patch)
treea0e6c5939ff18d793b4601dd1ad926a8eb4ea747 /makemakefile.sh
parent7ebda0eb50ad2972a93cc6f597b22c9d4473f304 (diff)
Remove 31 makefiles
With /opt:nowin98, the regular ANSI version will run on Win32s. NT 3.51 has no problems with the 4.0 version either. Older NT versions have been unsupported for some time already.
Diffstat (limited to 'makemakefile.sh')
-rwxr-xr-xmakemakefile.sh52
1 files changed, 1 insertions, 51 deletions
diff --git a/makemakefile.sh b/makemakefile.sh
index e968990..9e28c2b 100755
--- a/makemakefile.sh
+++ b/makemakefile.sh
@@ -75,38 +75,13 @@ ALF_VC6_OBJECTS=$(for i in $ALF_SOURCES; do printf ' out/%s.obj' "$(basename "$i
printf '\tdel /f out\\*.obj out\\*.exe\n\n'
) > Makefile.vc6
-# vc6 nt31 makefile
-(
- printf '# automatically created by makemakefile.sh. DO NOT EDIT!\n'
- printf '\n'
- printf 'CXX = cl.exe\n'
- printf 'CFLAGS = -O2 -GA -W3 -DUNICODE -D_UNICODE -D_WIN32=0x0501 -D_WIN32_WINNT=0x0501 -D_WIN32_IE=0x0501 -nologo\n'
- printf 'LDFLAGS = /link /subsystem:windows,3.10 /entry:_entry kernel32.lib user32.lib comctl32.lib shell32.lib gdi32.lib version.lib\n'
-
- printf '\n'
- printf 'out/widgetfactory.exe: out/widgetfactory.obj %s\n' "$ALF_VC6_OBJECTS"
- printf '\t$(CXX) $(CFLAGS) -Fe$@ $** $(LDFLAGS)\n'
- printf '\n'
- for i in $ALF_SOURCES; do
- printf 'out/%s: %s %s\n' "$(basename "$i" .cpp).obj" "alf/$i" "$(for k in $ALF_HEADERS; do printf ' alf/%s' "$k"; done)"
- printf '\t$(CXX) $(CFLAGS) -c -Fo$@ %s\n\n' "alf/$i"
- done
-
- printf 'out/widgetfactory.obj: widgetfactory.cpp alf/alf.h\n'
- printf '\t$(CXX) $(CFLAGS) -c -Fo$@ widgetfactory.cpp\n\n'
-
-
- printf 'clean:\n'
- printf '\tdel /f out\\*.obj out\\*.exe\n\n'
-) > Makefile.vc6-nt31
-
# vc6 ANSI makefile
(
printf '# automatically created by makemakefile.sh. DO NOT EDIT!\n'
printf '\n'
printf 'CXX = cl.exe\n'
printf 'CFLAGS = -O2 -GA -W3 -D_WIN32=0x0501 -D_WIN32_WINNT=0x0501 -D_WIN32_IE=0x0501 -nologo\n'
- printf 'LDFLAGS = /link /entry:_entry kernel32.lib user32.lib comctl32.lib shell32.lib gdi32.lib version.lib\n'
+ printf 'LDFLAGS = /link /entry:_entry /opt:nowin98 /fixed:no kernel32.lib user32.lib comctl32.lib shell32.lib gdi32.lib version.lib\n'
printf '\n'
printf 'out/widgetfactory.exe: out/widgetfactory.obj %s\n' "$ALF_VC6_OBJECTS"
@@ -124,28 +99,3 @@ ALF_VC6_OBJECTS=$(for i in $ALF_SOURCES; do printf ' out/%s.obj' "$(basename "$i
printf 'clean:\n'
printf '\tdel /f out\\*.obj out\\*.exe\n\n'
) > Makefile.vc6-ansi
-
-# vc6 NT3.1/Win32s ANSI makefile
-(
- printf '# automatically created by makemakefile.sh. DO NOT EDIT!\n'
- printf '\n'
- printf 'CXX = cl.exe\n'
- printf 'CFLAGS = -O2 -GA -W3 -D_WIN32=0x0501 -D_WIN32_WINNT=0x0501 -D_WIN32_IE=0x0501 -nologo\n'
- printf 'LDFLAGS = /link /subsystem:windows,3.10 /entry:_entry /fixed:no kernel32.lib user32.lib comctl32.lib shell32.lib gdi32.lib version.lib\n'
-
- printf '\n'
- printf 'out/widgetfactory.exe: out/widgetfactory.obj %s\n' "$ALF_VC6_OBJECTS"
- printf '\t$(CXX) $(CFLAGS) -Fe$@ $** $(LDFLAGS)\n'
- printf '\n'
- for i in $ALF_SOURCES; do
- printf 'out/%s: %s %s\n' "$(basename "$i" .cpp).obj" "alf/$i" "$(for k in $ALF_HEADERS; do printf ' alf/%s' "$k"; done)"
- printf '\t$(CXX) $(CFLAGS) -c -Fo$@ %s\n\n' "alf/$i"
- done
-
- printf 'out/widgetfactory.obj: widgetfactory.cpp alf/alf.h\n'
- printf '\t$(CXX) $(CFLAGS) -c -Fo$@ widgetfactory.cpp\n\n'
-
-
- printf 'clean:\n'
- printf '\tdel /f out\\*.obj out\\*.exe\n\n'
-) > Makefile.vc6-ansi-31