$OpenBSD: patch-Makefile,v 1.2 2009/09/10 20:23:18 jolan Exp $ --- Makefile.orig Wed Jul 30 12:44:00 2008 +++ Makefile Wed Sep 9 16:51:19 2009 @@ -6,7 +6,7 @@ POSIX = src/posix PCRE = src/pcre ONIG = src/oniguruma -all: build test +all: build build: build_pcre build_posix build_onig @@ -15,13 +15,13 @@ test: test_pcre test_posix test_onig clean: clean_pcre clean_posix clean_onig build_pcre: - make -C $(PCRE) -f rex_pcre.mak + $(MAKE_PROGRAM) -C $(PCRE) -f rex_pcre.mak build_posix: - make -C $(POSIX) -f rex_posix.mak + $(MAKE_PROGRAM) -C $(POSIX) -f rex_posix.mak build_onig: - make -C $(ONIG) -f rex_onig.mak + $(MAKE_PROGRAM) -C $(ONIG) -f rex_onig.mak test_pcre: cd test && lua ./runtest.lua -d../$(PCRE) pcre