GNUmakefile 412 Bytes
#!smake
#

PRDEPTH = ../..
include $(PRDEPTH)/PRdefs

CC=$(HOST_CC)
GCINCS=-D_LANGUAGE_C -I$(ROOT)/host_include 
LCOPTS=-Wall

OPTIMIZER = -g

TARGETS = libsym.a

CFILES = sym.c

default: $(TARGETS)

include $(PRDEPTH)/PRrules

sym.o: libsym.h 

exports install: default
	$(INSTALL) -m 444 -F /host_lib $(TARGETS)

headers:
	$(INSTALL) -m 444 -F /host_include libsym.h

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