GNUmakefile 619 Bytes
#!smake
#
# $Revision: 1.4 $
#

include ./include/PRdefs
CC=$(HOST_CC)
GCINCS=-D_LANGUAGE_C -I../libbbc/include -I../libbbc/include/PR -DBBC_MUX
GLDOPTS=
LCOPTS += -Wall

#VPATH=../../tools/gload

TARGETS = libbbcr.a

CFILES = bbcr.c

default: $(TARGETS)

include ./include/PRrules

exports install: default
	$(INSTALL) -m 444 -F /usr/lib $(TARGETS) $(PLITAB)

headers:

# build the bbcr lib;

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

# build the test program;

bbcr_test: bbcr_test.c libbbcr.a
	cc -O -o bbcr_test bbcr_test.c libbbcr.a

# build the ecc table generation tool;

mkecc: mkecc.c
	cc -o mkecc mkecc.c