mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-25 05:29:47 +00:00
Formerly default.c.~27~
This commit is contained in:
parent
08c71a7dbf
commit
4ac6d66244
1 changed files with 9 additions and 3 deletions
12
default.c
12
default.c
|
@ -31,7 +31,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
static char default_suffixes[]
|
static char default_suffixes[]
|
||||||
= ".out .a .ln .o .c .cc .C .p .f .F .r .y .l .s .S \
|
= ".out .a .ln .o .c .cc .C .p .f .F .r .y .l .s .S \
|
||||||
.mod .sym .def .h .info .dvi .tex .texinfo .texi .txinfo \
|
.mod .sym .def .h .info .dvi .tex .texinfo .texi .txinfo \
|
||||||
.w .web .sh .elc .el";
|
.w .ch .web .sh .elc .el";
|
||||||
|
|
||||||
static struct pspec default_pattern_rules[] =
|
static struct pspec default_pattern_rules[] =
|
||||||
{
|
{
|
||||||
|
@ -44,6 +44,12 @@ static struct pspec default_pattern_rules[] =
|
||||||
{ "%.out", "%",
|
{ "%.out", "%",
|
||||||
"@rm -f $@ \n cp $< $@" },
|
"@rm -f $@ \n cp $< $@" },
|
||||||
|
|
||||||
|
/* Syntax is "ctangle foo.w foo.ch foo.c". */
|
||||||
|
{ "%.c", "%.w %.ch",
|
||||||
|
"$(CTANGLE) $^ $@" },
|
||||||
|
{ "%.tex", "%.w %.ch",
|
||||||
|
"$(CWEAVE) $^ $@" },
|
||||||
|
|
||||||
{ 0, 0, 0 }
|
{ 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -172,13 +178,13 @@ static char *default_suffix_rules[] =
|
||||||
"$(TEXI2DVI) $<",
|
"$(TEXI2DVI) $<",
|
||||||
|
|
||||||
".w.c",
|
".w.c",
|
||||||
"$(CTANGLE) $<",
|
"$(CTANGLE) $< - $@", /* The `-' says there is no `.ch' file. */
|
||||||
|
|
||||||
".web.p",
|
".web.p",
|
||||||
"$(TANGLE) $<",
|
"$(TANGLE) $<",
|
||||||
|
|
||||||
".w.tex",
|
".w.tex",
|
||||||
"$(CWEAVE) $<",
|
"$(CWEAVE) $< - $@", /* The `-' says there is no `.ch' file. */
|
||||||
|
|
||||||
".web.tex",
|
".web.tex",
|
||||||
"$(WEAVE) $<",
|
"$(WEAVE) $<",
|
||||||
|
|
Loading…
Reference in a new issue