summaryrefslogtreecommitdiff
path: root/tools/checkwps
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-03-27 00:00:53 +0000
committerDave Chapman <dave@dchapman.com>2008-03-27 00:00:53 +0000
commit61f1735c59435523949ee17b00d03c4916551db3 (patch)
treebbe36388e34293cb2180d610c6c35eab99c60668 /tools/checkwps
parent06ec18d93fcead9b954c98c3d8a254281e0ea0bf (diff)
Prevent the user from running "make" directly - it should only be invoked by the buildall.sh script
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16834 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/checkwps')
-rw-r--r--tools/checkwps/Makefile3
-rwxr-xr-xtools/checkwps/buildall.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/checkwps/Makefile b/tools/checkwps/Makefile
index 069b1e4334..3da56f9d82 100644
--- a/tools/checkwps/Makefile
+++ b/tools/checkwps/Makefile
@@ -21,7 +21,8 @@ INCLUDE=-I $(ROOT)/apps/gui \
CFLAGS = -g -D__PCTOOL__ -DDEBUG -DROCKBOX_DIR_LEN=9 -DWPS_DIR=\".\"
-all: checkwps.$(MODEL)
+all:
+ @echo To build, run the buildall.sh script
checkwps.$(MODEL): checkwps.c $(COMMON)
@echo CC [$(TARGET)]
diff --git a/tools/checkwps/buildall.sh b/tools/checkwps/buildall.sh
index faec663ab8..732c11b2b3 100755
--- a/tools/checkwps/buildall.sh
+++ b/tools/checkwps/buildall.sh
@@ -3,6 +3,6 @@ cat targets.txt | (
while read target model
do
rm -f checkwps.$model
- make MODEL=$model TARGET=$target
+ make MODEL=$model TARGET=$target checkwps.$model
done
)