GNUmakefile
626 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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