From: Yves Orton Date: Sun, 21 Dec 2008 16:04:33 +0000 (+0100) Subject: more build dependency changes, we should make sure that cflags is updated whenever... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ce0e211a90da72f1344099dc2e538e0b466a3641;p=p5sagit%2Fp5-mst-13.2.git more build dependency changes, we should make sure that cflags is updated whenever cflags.SH changes --- diff --git a/Makefile.SH b/Makefile.SH index 755e600..5040e53 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -513,13 +513,13 @@ splintflags = \ splintfiles = $(c1) -.c$(OBJ_EXT): +.c$(OBJ_EXT): cflags $(CCCMD) $(PLDLFLAGS) $*.c -.c.i: +.c.i: cflags $(CCCMDSRC) -E $*.c > $*.i -.c.s: +.c.s: cflags $(CCCMDSRC) -S $*.c all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make @@ -538,7 +538,7 @@ sperl.i: perl.c $(h) .PHONY: all translators utilities make_patchnum make_patchnum: - sh $(shellflags) make_patchnum.sh + sh $(shellflags) make_patchnum.sh perl$(OBJ_EXT): make_patchnum .patchnum diff --git a/cflags.SH b/cflags.SH index b11966b..2546586 100755 --- a/cflags.SH +++ b/cflags.SH @@ -354,7 +354,7 @@ case "$cc" in ;; esac -if [ -f .patchnum -a -n "$(cat .patchnum)"]; then +if [ -f .patchnum -a -n "$(cat .patchnum)" ] ; then ccflags="-DPERL_PATCHNUM=`cat .patchnum`" fi diff --git a/make_patchnun.sh b/make_patchnum.sh similarity index 100% rename from make_patchnun.sh rename to make_patchnum.sh