From: Jarkko Hietaniemi Date: Mon, 26 Jul 1999 10:18:56 +0000 (+0000) Subject: Use $< instead of $*.c in *perlmain.o rules. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7cfc0d094edc5c812f838a43abfb8e5c736009ef;p=p5sagit%2Fp5-mst-13.2.git Use $< instead of $*.c in *perlmain.o rules. p4raw-id: //depot/cfgperl@3766 --- diff --git a/Makefile.SH b/Makefile.SH index 154937c..fb250f3 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -297,14 +297,14 @@ FORCE: @sh -c true miniperlmain$(OBJ_EXT): $(src)/miniperlmain.c - $(CCCMD) $(PLDLFLAGS) $*.c + $(CCCMD) $(PLDLFLAGS) $< perlmain.c: $(src)/miniperlmain.c config.sh $(FIRSTMAKEFILE) sh writemain $(DYNALOADER) $(static_ext) > writemain.tmp sh $(src)/mv-if-diff writemain.tmp perlmain.c perlmain$(OBJ_EXT): perlmain.c - $(CCCMD) $(PLDLFLAGS) $*.c + $(CCCMD) $(PLDLFLAGS) $< # The file ext.libs is a list of libraries that must be linked in # for static extensions, e.g. -lm -lgdbm, etc. The individual @@ -490,7 +490,7 @@ pod: $(plextract): pod miniperl lib/Config.pm lib/re.pm $(LDLIBPTH) ./miniperl -Ilib -I$(src)/lib $(src)/$@.PL - + install: all install.perl install.man install.perl: all installperl @@ -738,8 +738,8 @@ shlist: $(sh) pllist: $(pl) echo $(pl) | tr ' ' $(TRNL) | sed -e "s@^$(srcqre)/@@" >.pllist -Makefile: Makefile.SH ./config.sh - $(SHELL) Makefile.SH +Makefile: $(src)/Makefile.SH ./config.sh + $(SHELL) $(src)/Makefile.SH distcheck: FORCE perl '-MExtUtils::Manifest=&fullcheck' -e 'fullcheck()'