[MLton-commit] r4877

Matthew Fluet fluet at mlton.org
Wed Nov 29 19:55:54 PST 2006


Reinstate OMIT_BYTECODE control
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/Makefile

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/Makefile
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/Makefile	2006-11-30 03:55:23 UTC (rev 4876)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/Makefile	2006-11-30 03:55:54 UTC (rev 4877)
@@ -196,15 +196,18 @@
 	util.o							\
 	gc.o							\
 	platform.o						\
-	platform/$(TARGET_OS).o					\
-	bytecode/interpret.o
+	platform/$(TARGET_OS).o
 DEBUG_OBJS := 							\
 	util-gdb.o						\
 	gc-gdb.o						\
 	platform-gdb.o						\
-	platform/$(TARGET_OS)-gdb.o				\
-	bytecode/interpret-gdb.o
+	platform/$(TARGET_OS)-gdb.o
 
+ifeq ($(OMIT_BYTECODE), yes)
+  OBJS += bytecode/interpret.o
+  DEBUG_OBJS += bytecode/interpret-gdb.o
+endif
+
 ifeq ($(COMPILE_FAST), yes)
   OBJS += basis.o basis/Real/real-basis.o
   DEBUG_OBJS += basis-gdb.o basis/Real/real-basis-gdb.o




More information about the MLton-commit mailing list