Build fix for cygwin
authorDick Porter <dick@acm.org>
Mon, 5 May 2003 12:56:07 +0000 (12:56 -0000)
committerDick Porter <dick@acm.org>
Mon, 5 May 2003 12:56:07 +0000 (12:56 -0000)
svn path=/trunk/mono/; revision=14294

mono/mini/Makefile.am

index d506f14338719a9d0c017ed274dab971f9f01bdb..c254f970397582d081d6123184b5441ffac8988a 100644 (file)
@@ -19,6 +19,10 @@ INCLUDES = \
        $(GMODULE_CFLAGS)               \
        $(GLIB_CFLAGS)
 
+if PLATFORM_WIN32
+export HOST_CC
+endif
+
 # hack for automake to have the same source file in a library and a bin
 genmdesc_CFLAGS = $(AM_CFLAGS)
 
@@ -95,7 +99,7 @@ libmonoinclude_HEADERS = \
 TestDriver.dll: TestDriver.cs
        $(MCS) /out:TestDriver.dll /target:library TestDriver.cs
 
-cpu-pentium.h: cpu-pentium.md genmdesc
+cpu-pentium.h: cpu-pentium.md genmdesc$(EXEEXT)
        ./genmdesc $(srcdir)/cpu-pentium.md cpu-pentium.h pentium
 
 BURGSRC= $(srcdir)/inssel.brg $(srcdir)/inssel-x86.brg $(srcdir)/inssel-long32.brg $(srcdir)/inssel-float.brg