]> granicus.if.org Git - graphviz/commitdiff
lefty now builds in MinGW: minor preprocessor changes, modern definition of WinMain...
authorglenlow <devnull@localhost>
Sat, 1 Mar 2008 12:35:02 +0000 (12:35 +0000)
committerglenlow <devnull@localhost>
Sat, 1 Mar 2008 12:35:02 +0000 (12:35 +0000)
cmd/lefty/Makefile.am

index e557ee416c7a3d0a649de61ea342e6b64c9d5953..aa83bfa3754f46d249ee5e73055334ca2bc4f558 100644 (file)
@@ -85,10 +85,14 @@ lefty_LDADD = $(top_builddir)/cmd/lefty/dot2l/libdot2l.la \
 endif
 
 if WITH_WIN32
-RC_CPPFLAGS = '-IC:\\progra~1\\microsoft visual studio 8\\vc\\PlatformSDK\\include'
-
+if RC_IS_RC
+lefty.res : ws/mswin32/lefty.rc
+       rc -l 0x409 -Iws/mswin32 '-IC:\\progra~1\\microsoft visual studio 8\\vc\\PlatformSDK\\include' -DNDEBUG -fo lefty.res ws/mswin32/lefty.rc
+endif
+if RC_IS_WINDRES
 lefty.res : ws/mswin32/lefty.rc
-       rc -l 0x409 -Iws/mswin32 $(RC_CPPFLAGS) -DNDEBUG -fo lefty.res ws/mswin32/lefty.rc
+       windres -l 0x409 -Iws/mswin32 -DNDEBUG -Ocoff -o lefty.res ws/mswin32/lefty.rc
+endif
 endif
 
 .1.pdf: