$OpenBSD: patch-Makefile,v 1.1.1.1 2014/10/25 12:50:29 chrisz Exp $
- subdirs need gmake too
--- Makefile.orig	Tue Apr 29 20:52:44 2014
+++ Makefile	Tue Sep  2 19:57:12 2014
@@ -39,13 +39,13 @@ doc/cudf-check.1: doc/cudf-check.pod
 
 .PHONY: c-lib c-lib-opt doc
 c-lib:
-	make -C $(C_LIB_DIR) all
+	$(MAKE) -C $(C_LIB_DIR) all
 c-lib-opt:
-	make -C $(C_LIB_DIR) opt
+	$(MAKE) -C $(C_LIB_DIR) opt
 
 clean:
-	make -C $(C_LIB_DIR) clean
-	make -C doc/ clean
+	$(MAKE) -C $(C_LIB_DIR) clean
+	$(MAKE) -C doc/ clean
 	$(OCAMLBUILD) $(OBFLAGS) -clean
 	rm -rf $(NAME)-*.gz $(NAME)_*.gz $(NAME)-*/
 
@@ -64,7 +64,7 @@ test: test.byte
 	./$< -verbose
 	@echo
 c-lib-test:
-	make -C $(C_LIB_DIR) test
+	$(MAKE) -C $(C_LIB_DIR) test
 test.byte: $(SOURCES)
 	ocamlbuild $@
 
