summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-04-10 15:49:38 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-04-10 15:49:38 (GMT)
commitcc0082c508d1d83ecbfcf332ad789a9c324f07f8 (patch)
tree3785e4f221602dc0ee0d382fe952e916a9e9ed08
parentb426a71b533032c602f785a9906f1439d379f111 (diff)
While migrating the samples to use ${CT_TOP_DIR}/build as base for the build directories, the Makefile rules stoped working.
This is because 'all' depends on 'build', which does exist, and make believes there's noting to do. Work this around by using a rule named '_ct_build' instead of plain 'build'.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3a0269d..9950f6a 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ export PROJECTVERSION=0.0.1
export CT_TOP_DIR=$(shell pwd)
.PHONY: all
-all: build
+all: _ct_build
HOST_CC = gcc -funsigned-char
@@ -33,7 +33,7 @@ include $(CT_TOP_DIR)/tools/Makefile
@test -f .config
# Actual build
-build: .config
+_ct_build: .config
@$(CT_TOP_DIR)/scripts/crosstool.sh
.PHONY: distclean