GNUmakefile
389 Bytes
#!smake
#
PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
CC=$(HOST_CC)
GCINCS=-I$(ROOT)/host_include -D_LANGUAGE_C
TARGETS = libecc.a
CFILES = ecc256.c ecc8.c
OPTIMIZER = -O2
default: $(TARGETS)
include $(PRDEPTH)/PRrules
exports install: default
$(INSTALL) -m 444 -F /host_lib $(TARGETS)
headers:
$(INSTALL) -m 444 -F /host_include ecc256.h
libecc.a: $(OBJECTS)
ar rc $@ $(OBJECTS)