[MLton-commit] r7218
Wesley Terpstra
wesley at mlton.org
Sun Jul 26 08:26:46 PDT 2009
Use the built MLton for constants file creation.
----------------------------------------------------------------------
U mlton/trunk/package/mingw/Makefile
----------------------------------------------------------------------
Modified: mlton/trunk/package/mingw/Makefile
===================================================================
--- mlton/trunk/package/mingw/Makefile 2009-07-21 23:28:49 UTC (rev 7217)
+++ mlton/trunk/package/mingw/Makefile 2009-07-26 15:26:46 UTC (rev 7218)
@@ -36,8 +36,8 @@
cp ../../runtime.x64/gen/sizes ../../runtime.x64/*.a staging/lib/mlton/x86_64-w64-mingw32
rm staging/lib/mlton/x86_64-w64-mingw32/*-gdb.a
rm -rf ../../runtime.x64
- mlton -target x86_64-w64-mingw32 -build-constants true > staging/w64-constants.c
- mlton -target x86_64-w64-mingw32 -verbose 1 staging/w64-constants.c
+ $(MLTON) -target x86_64-w64-mingw32 -build-constants true > staging/w64-constants.c
+ $(MLTON) -target x86_64-w64-mingw32 -verbose 1 staging/w64-constants.c
./staging/w64-constants > staging/lib/mlton/x86_64-w64-mingw32/constants
echo "x86_64-w64-mingw32 amd64 mingw" >> staging/lib/mlton/target-map
cd staging; find lib/mlton/x86_64-w64-mingw32 lib/mlton/sml/basis/config/c/amd64-mingw -type f > ../$@.tmp
More information about the MLton-commit
mailing list