GNUmakefile 456 Bytes
#!smake

PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
GCINCS=-I$(ROOT)/host_include -D_LANGUAGE_C

TARGETS = libpli.a

CFILES = mem_file.c plusarg.c frame_buf.c gmisc.c ms_sync.c rdram.c misc.c

default: $(TARGETS)

include $(PRDEPTH)/PRrules

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

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

.c.o:
#	$(HOST_CC) -g -c $(CFLAGS) -Wab,-big_got -Wab,-dwalign $<
	$(HOST_CC) -I. -g -c $(CFLAGS) $<