diff makefile.vc @ 1932:bf34d9f9dabe

Fix some warning while building with Visual C for Windows.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 08 Jul 2017 11:53:30 +0000
parents e07a1e176995
children 2f98abf1e1e5
line wrap: on
line diff
--- a/makefile.vc	Fri Jun 02 23:37:45 2017 +0000
+++ b/makefile.vc	Sat Jul 08 11:53:30 2017 +0000
@@ -114,7 +114,7 @@
 $(OBJS) $(RES)
 $(LIBS)
 <<
-	lib /def:$(DEFFILE) /out:dw.lib
+	lib /def:$(DEFFILE) /machine:$(TARGET_CPU) /out:dw.lib
 	mt.exe /manifest dw.dll.manifest win\dw.dll.$(TARGET_CPU).manifest /outputresource:dw.dll;2
 	-erase dw.dll.manifest
         copy dw.lib $(DWLIBDIR)\dw.lib