27 lines
339 B
Makefile
27 lines
339 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) $@
|
|
|
|
### Dependencies:
|
|
|
|
ppy.tab.o: ppy.tab.c
|
|
ppl.yy.o: ppl.yy.c ppy.tab.h
|