29 lines
384 B
Makefile
29 lines
384 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = libwpp.a
|
|
|
|
C_SRCS = \
|
|
preproc.c \
|
|
wpp.c
|
|
|
|
LEX_SRCS = ppl.l
|
|
BISON_SRCS = ppy.y
|
|
|
|
all: $(MODULE)
|
|
|
|
@MAKE_RULES@
|
|
|
|
$(MODULE): $(OBJS)
|
|
$(RM) $@
|
|
$(AR) $@ $(OBJS)
|
|
$(RANLIB) $@
|
|
|
|
ppy.tab.c: ppy.tab.h # for parallel makes
|
|
|
|
### Dependencies:
|
|
|
|
ppy.tab.o: ppy.tab.c
|
|
ppl.yy.o: ppl.yy.c ppy.tab.h
|