Makefile
709 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
#!smake
#
# Makefile to build libddwrite.a
#
# libleo_sp.a make Ƥ
#
SUBDIR=libddwrite
COMMONPREF=$(SUBDIR)
PRDEPTH=$(ROOT)/PR
include $(PRDEPTH)/PRdefs
TARGETS=libddwrite.a
CFILES += \
dodiskwrite.c \
dummyread.c \
formatdisk.c \
getinfo.c \
init.c \
setid.c \
system.c \
table.c \
unformat.c \
util.c \
write.c
OBJECTS = $(CFILES:.c=.o)
LCINCS = -I. -I$(ROOT)/usr/include
LCOPTS = -non_shared -mips2 -fullwarn -G 0 -wlint,-f -woff 813,819,826,852
include $(PRDEPTH)/PRrules
default: libddwrite.a
libddwrite.a: $(.TARGET)($(OBJECTS))
ar cru $(.TARGET) $(.OODATE)
rm -f $(.OODATE)
exports install! default
clean clobber! $(_FORCE)
rm -rf $(TARGETS)