Makefile
896 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
43
44
45
46
47
48
49
50
51
52
53
54
#!smake
#
# Makefile to build libleo.a
#
PRDEPTH=$(ROOT)/PR
include $(PRDEPTH)/PRdefs
LIBDEPTH = ../..
TARGETS=$(LIBDEPTH)/libleo/libleo.a
CFILES = \
leo_tbl.c \
leoc2ecc.c \
leocmdex.c \
leofunc.c \
leoinquiry.c \
leoint.c \
leomecha.c \
leomode_sel.c \
leomotor.c \
leomseq_tbl.c \
leoram.c \
leord_capa.c \
leord_diskid.c \
leoread.c \
leoreset.c \
leorezero.c \
leoseek.c \
leotestunit.c \
leotranslat.c \
leoutil.c \
leowrite.c \
leotimer.c \
leosysdata.c \
leoc2_syndrome.c \
leotempbuffer.c
COBJECTS = $(CFILES:.c=.o)
LCINCS = -I. -I../include -I$(ROOT)/usr/include/PR -I $(ROOT)/usr/include -I$(ROOT)/PR/libultra/include
LCOPTS = -non_shared -mips2 -fullwarn -G 0
LCDEFS = -DNDEBUG
OPTIMIZER = -O2
exports install default: $(TARGETS)
include $(PRDEPTH)/PRrules
$(TARGETS): $(.TARGET)($(OBJECTS))
ar rc $(.TARGET) $(.OODATE)
rm -f $(.OODATE)