Makefile
494 Bytes
# Makefile for bcp pli lib;
BBDEPTH = ../..
include $(BBDEPTH)/BBdefs
TARGETS = libbcppli.a
PLITAB = bcppli.tab
CFILES = plusarg.c misc.c socket.c vi.c
GCINCS = -I$(BBDEPTH)/include -I$(VCSINCL)
default: $(TARGETS)
include $(BBDEPTH)/BBrules
# frank, no install for now;
# exports install: default
# $(INSTALL) -m 444 -F /usr/lib/PR $(TARGETS) $(PLITAB)
libbcppli.a: $(OBJECTS)
ar rc $@ $(OBJECTS)
.c.o:
$(CC) $(GCINCS) -c -O -DPLI $<
clean: $(_FORCE)
rm -rf $(TARGETS) $(OBJECTS)