GNUmakefile
417 Bytes
#!smake
#
PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
CC=$(HOST_CC)
GCINCS=-D_LANGUAGE_C -I$(ROOT)/host_include
LCOPTS=-Wall
OPTIMIZER = -g
TARGETS = libdbp.a
CFILES = dbp.c dbp_sim.c
default: $(TARGETS)
include $(PRDEPTH)/PRrules
dbp.o: dbp.h
exports install: default
$(INSTALL) -m 444 -F /host_lib $(TARGETS)
headers:
$(INSTALL) -m 444 -F /host_include dbp.h
libdbp.a: $(OBJECTS)
ar rc $@ $(OBJECTS)