2 TOPSRCDIR = @top_srcdir@
8 ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
30 SPEC_SRCS = winedbg.spec
32 EXTRA_SRCS = dbg.y debug.l
33 EXTRA_OBJS = y.tab.o lex.yy.o
41 y.tab.c y.tab.h: dbg.y
42 $(YACC) -d -t $(SRCDIR)/dbg.y
45 $(LEX) -8 -I $(SRCDIR)/debug.l
48 $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(ALL_LIBS)