From cc0082c508d1d83ecbfcf332ad789a9c324f07f8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 10 Apr 2007 15:49:38 +0000 Subject: 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'. 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 -- cgit v0.10.2-6-g49f6