GNUmakefile 626 Bytes
include $(ROOT)/usr/include/make/PRdefs

OPTIMIZER =	-g -O2

TARGETS =	libfb.a

LCINCS =	-I. -I$(ROOT)/usr/include/PR
LCOPTS =	-mips2 -Wall -non_shared -G 0 -g

LASINCS =	$(LCINCS)
LASOPTS =	-non_shared -G 0

CFILES = font.c \
	bigputc.c \
	box.c \
	circle.c \
	clear.c \
	init.c \
	line.c \
	bigprint.c \
	printstr.c \
	pixel.c \
	putchar.c \
	putdec.c \
	puthex.c \
	printf.c \
	rect.c \
	revchar.c \
	setbg.c

default:	$(TARGETS)

include $(COMMONRULES)

install:	default

$(TARGETS) : $(OBJECTS)
	$(AR) ru $(TARGETS) $?

install exports: $(TARGETS)
	 $(INSTALL) -F /usr/lib $(TARGETS)
	 $(INSTALL) -F /usr/include libfb.h