DEFS      = -D__WINE__
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR    = @srcdir@
VPATH     = @srcdir@
PROGRAMS  = winerc@PROGEXT@
MODULE    = none

C_SRCS     = winerc.c
EXTRA_SRCS = parser.y parser.l
EXTRA_OBJS = y.tab.o lex.yy.o

all: $(PROGRAMS)

depend:: y.tab.h

@MAKE_RULES@

$(PROGRAMS): $(OBJS)
	$(CC) $(CFLAGS) -o winerc@PROGEXT@ $(OBJS) $(LEXLIB)

y.tab.c y.tab.h: parser.y
	$(YACC) -d -t $(SRCDIR)/parser.y

lex.yy.c: parser.l
	$(LEX) -8 -I $(SRCDIR)/parser.l

### Dependencies:
