Makefile 505 Bytes
# Makefile for rcp pli lib;

BBDEPTH = ../..
include $(BBDEPTH)/BBdefs

TARGETS = librcppli.a
PLITAB	= rcppli.tab

CFILES = plusarg.c misc.c # socket.c rdram.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)

librcppli.a: $(OBJECTS)
	ar rc $@ $(OBJECTS)

.c.o:
	$(CC) $(GCINCS) -c -O -DPLI $<

clean: $(_FORCE)
	rm -rf $(TARGETS) $(OBJECTS)