[MLton-devel] Patch for building on systems where gmake is non-default

Jesper Louis Andersen jlouis@mongers.org
Wed, 1 Oct 2003 23:36:07 +0200


Patch to apply to mlton/Makefile:

--- ../../mlton-cvs/mlton/mlton/Makefile	Wed Oct  1 23:12:14 2003
+++ Makefile	Wed Oct  1 23:33:54 2003
@@ -39,7 +39,7 @@
 
 $(AOUT): mlton.cm $(shell mlton -stop f mlton.cm)
 	rm -f $(UP)
-	make $(UP)
+	$(MAKE) $(UP)
 	@echo 'Compiling mlton (takes a while)'
 	mlton $(FLAGS) $(CM)
 	size $(AOUT)

This way it picks up the make(1), which it is running with right now, so
the recursive make goes correct and calls gmake instead of the default
system make (which in the NetBSD case is b(sd)make).

-- 
j. 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel