Sweden-Number/libs/wpp/Makefile.in

37 lines
602 B
Makefile
Raw Normal View History

TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
LEXOPT = -Cf #-w -b
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) $(LEXOPT) -d -Ppp -o$@ -8 $(SRCDIR)/ppl.l
@LEX_OUTPUT_ROOT@.o: ppy.tab.h
### Dependencies: