Sweden-Number/libs/wpp/Makefile.in

36 lines
558 B
Makefile

TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = libwpp.a
C_SRCS = \
preproc.c \
wpp.c
EXTRA_SRCS = ppy.y ppl.l
EXTRA_OBJS = ppy.tab.o @LEX_OUTPUT_ROOT@.o
all: $(MODULE)
@MAKE_RULES@
$(MODULE): $(OBJS)
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
ppy.tab.c ppy.tab.h: ppy.y
$(BISON) -ppp -d -t $(SRCDIR)/ppy.y -o ppy.tab.c
# hack to allow parallel make
ppy.tab.h: ppy.tab.c
ppy.tab.o: ppy.tab.h
@LEX_OUTPUT_ROOT@.c: ppl.l
$(LEX) -o$@ $(SRCDIR)/ppl.l
@LEX_OUTPUT_ROOT@.o: ppy.tab.h
### Dependencies: