comparison mk/objective.mk @ 1323:43547cd5e74e trunk

[svn] - smarter way to detect gmake
author nenolod
date Thu, 22 Jun 2006 03:01:46 -0700
parents dfa4ef2e8c79
children e402e0217870
comparison
equal deleted inserted replaced
1322:dfa4ef2e8c79 1323:43547cd5e74e
124 rm -f mk/rules.mk; \ 124 rm -f mk/rules.mk; \
125 fi 125 fi
126 126
127 build: 127 build:
128 # test for GNU make 128 # test for GNU make
129 @if [ "x$(MAKE_VERSION)" == "x" ]; then \ 129 @if [ ! "$(MAKE_VERSION)" ]; then \
130 echo "[Your make is not properly supported, please use GNU make.]"; \ 130 echo "[Your make is not properly supported, please use GNU make.]"; \
131 exit 1; \ 131 exit 1; \
132 fi; 132 fi;
133 $(MAKE) build-prehook 133 $(MAKE) build-prehook
134 @if [ "x$(SUBDIRS)" != "x" ]; then \ 134 @if [ "x$(SUBDIRS)" != "x" ]; then \