From b4a47cebc3df55a3fb5abbc045d3707b0bea936c Mon Sep 17 00:00:00 2001 From: edgrif <edgrif> Date: Mon, 10 Nov 2003 17:54:18 +0000 Subject: [PATCH] allow make command to be specified via MAKE macro. --- src/makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/makefile b/src/makefile index 24427c078..5fcc50d6c 100755 --- a/src/makefile +++ b/src/makefile @@ -8,10 +8,9 @@ # Add directories to this list as they are sorted out. MAKE_DIRS = zmapmanager - -all: forcemake platform +all: platform @for d in $(MAKE_DIRS); do \ - (cd $$d ; echo ; echo 'make '$@' in '$$d ; /usr/bin/posix/make $@ ; echo) ; \ + (cd $$d ; echo ; echo 'make '$@' in '$$d ; $(MAKE) $@ ; echo) ; \ done clean: forcemake platform @@ -29,3 +28,4 @@ clean: forcemake platform ROOT_DIRECTORY = . MAKEDEFS_DIR = $(ROOT_DIRECTORY)/zmapMake include $(MAKEDEFS_DIR)/common.make +include $(MAKEDEFS_FILE) -- GitLab