comparison makefile.vc @ 1113:a049f447999c

Updated makefiles to 2.1 on Windows and OS/2 for packaging. Also added automatic win32/win64 naming for the zip files. I really need to look into a unified version location, right now I have to change the version in 15 places for each release.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 29 Jul 2011 22:11:25 +0000
parents facf58c6a4c7
children 2991afb3bf71
comparison
equal deleted inserted replaced
1112:824849a7768a 1113:a049f447999c
1 # 1 #
2 # Visual C Makefile for Dynamic Windows 2 # Visual C Makefile for Dynamic Windows
3 # 3 #
4 VER = 20 4 VER = 21
5 VERDOT = 2.0 5 VERDOT = 2.1
6 6
7 # 7 #
8 # Setup the source and destination directories 8 # Setup the source and destination directories
9 # 9 #
10 !if "$(DWINDOWS_SRCDIR)" == "" 10 !if "$(DWINDOWS_SRCDIR)" == ""
29 TARGET_CPU=x86 29 TARGET_CPU=x86
30 !endif 30 !endif
31 31
32 !if "$(TARGET_CPU)" == "x86" 32 !if "$(TARGET_CPU)" == "x86"
33 PLATFORM_DEF = -DWIN32 33 PLATFORM_DEF = -DWIN32
34 PLATFORM_NAME = win32
34 !else 35 !else
35 PLATFORM_DEF = -DWIN64 36 PLATFORM_DEF = -DWIN64
37 PLATFORM_NAME = win64
36 !endif 38 !endif
37 39
38 # 40 #
39 # Settings for either debug or release 41 # Settings for either debug or release
40 # 42 #
128 $(LINK) $(LINKFLAGS) /out:dwtest.exe dwtest.obj winmain.obj /subsystem:windows $(DWLIBDIR)\dwcompat.lib $(DWLIBDIR)\dw.lib $(LIBS) 130 $(LINK) $(LINKFLAGS) /out:dwtest.exe dwtest.obj winmain.obj /subsystem:windows $(DWLIBDIR)\dwcompat.lib $(DWLIBDIR)\dw.lib $(LIBS)
129 mt.exe /manifest dwtest.exe.manifest win\dwtest.exe.$(TARGET_CPU).manifest /outputresource:dwtest.exe;1 131 mt.exe /manifest dwtest.exe.manifest win\dwtest.exe.$(TARGET_CPU).manifest /outputresource:dwtest.exe;1
130 132
131 zip: dw.dll 133 zip: dw.dll
132 copy win\readme-win.txt . 134 copy win\readme-win.txt .
133 zip dwindows-win32-$(VERDOT).zip readme-win.txt readme dw.dll dwcompat.dll dw.lib dwcompat.lib dw.h 135 zip dwindows-$(PLATFORM_NAME)-$(VERDOT).zip readme-win.txt readme dw.dll dwcompat.dll dw.lib dwcompat.lib dw.h