patches/ELFkickers/2.0a/100-use_CC_not_gcc.patch
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:27:54 2011 +1300 (2011-09-29)
changeset 2694 2c01a02334ea
permissions -rw-r--r--
Makefile: use phony targets

Add 'build', 'build-*', and 'install' as phony targets to the top level
Makefile.

I tend to do everything in tree with the build in a directory called
'build'. This interfered with the target 'build', making it think the
target was up to date, and stopping scripts/crosstool-NG.sh from being
regenerated.

Added 'install' as I often set the prefix to $PWD/install.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
     1 diff -dur ELFkickers.orig/sstrip/Makefile ELFkickers/sstrip/Makefile
     2 --- ELFkickers.orig/sstrip/Makefile	2001-03-24 12:58:27.000000000 +0100
     3 +++ ELFkickers/sstrip/Makefile	2007-05-31 21:17:18.000000000 +0200
     4 @@ -1,7 +1,7 @@
     5  #  Makefile for sstrip
     6  
     7  sstrip: sstrip.c
     8 -	gcc -ggdb -Wall -W -o sstrip sstrip.c
     9 +	$(CC) -Wall -W -o sstrip sstrip.c
    10  
    11  clean:
    12  	rm -f sstrip