changeset 1217:ce65f2a60bdd trunk

[svn] - tell users to use GNU make
author nenolod
date Wed, 14 Jun 2006 01:12:01 -0700
parents a428d7e70c10
children aaf012a5529c
files ChangeLog mk/objective.mk
diffstat 2 files changed, 17 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jun 14 00:52:27 2006 -0700
+++ b/ChangeLog	Wed Jun 14 01:12:01 2006 -0700
@@ -1,3 +1,12 @@
+2006-06-14 07:52:27 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1346]
+  - chase $(RM) change
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/Plugins/General/scrobbler/Makefile.in  
+
+
 2006-06-14 07:51:53 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1344]
   - improvements
--- a/mk/objective.mk	Wed Jun 14 00:52:27 2006 -0700
+++ b/mk/objective.mk	Wed Jun 14 01:12:01 2006 -0700
@@ -8,17 +8,10 @@
 OBJECTIVE_DATA = 
 SUBDIRS = 
 HEADERS = 
+V = 0
+VERBOSE ?= $(V)
 VERBOSITY = 0
-SHOW_CFLAGS = 0
-
-#ifeq ($(SHOW_CFLAGS),0)
-#ifeq ($(V),1)
-#SHOW_CFLAGS = 1
-#endif
-#ifeq ($(VERBOSE),1)
-#SHOW_CFLAGS = 1
-#endif
-#endif
+SHOW_CFLAGS ?= $(VERBOSE)
 
 LIBDIR = $(libdir)
 BINDIR = $(bindir)
@@ -132,6 +125,11 @@
 	fi
 
 build:
+	# test for GNU make
+	@if test "x$(MAKE_VERSION)" == "x"; then \
+		echo "[Your make is not properly supported, please use GNU make.]"; \
+		exit 1; \
+	fi;
 	$(MAKE) build-prehook
 	@if test "x$(SUBDIRS)" != "x"; then \
 		for i in $(SUBDIRS); do \