mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
makefiles: Generate explicit build rules for lex files from makedep.
This commit is contained in:
parent
66a559328a
commit
efef36c05a
@ -36,7 +36,7 @@ CROSSOBJS = $(OBJS:.o=.cross.o)
|
||||
|
||||
# Implicit rules
|
||||
|
||||
.SUFFIXES: .mc .rc .res .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .man.in .man _c.c _i.c _p.c _s.c _r.res _t.res .cross.o .po .mo @MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
|
||||
.SUFFIXES: .mc .rc .res .idl .tlb .h .y .tab.c .tab.h .ok .man.in .man _c.c _i.c _p.c _s.c _r.res _t.res .cross.o .po .mo @MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(ALLCFLAGS) -o $@ $<
|
||||
@ -53,9 +53,6 @@ CROSSOBJS = $(OBJS:.o=.cross.o)
|
||||
.y.tab.h:
|
||||
$(BISON) $(BISONFLAGS) -p $*_ -o $*.tab.c -d $<
|
||||
|
||||
.l.yy.c:
|
||||
$(FLEX) $(LEXFLAGS) -o$@ $<
|
||||
|
||||
.mc.res:
|
||||
$(WMC) -U -O res $(PORCFLAGS) -o $@ $<
|
||||
|
||||
|
@ -947,6 +947,8 @@ static void output_sources(void)
|
||||
}
|
||||
else if (!strcmp( ext, "l" )) /* lex file */
|
||||
{
|
||||
output( "%s.yy.c: %s\n", obj, source->filename );
|
||||
output( "\t$(FLEX) $(LEXFLAGS) -o$@ %s\n", source->filename );
|
||||
column += output( "%s.yy.o: %s.yy.c", obj, obj );
|
||||
}
|
||||
else if (!strcmp( ext, "rc" )) /* resource file */
|
||||
|
Loading…
Reference in New Issue
Block a user