Makefile
1.04 KB
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
55
56
57
58
59
60
61
62
#!smake
#
# Makefile for graphics utility library subdirectory
#
SUBDIR=mgu
COMMONPREF=$(SUBDIR)
PRDEPTH=$(ROOT)/PR
include $(PRDEPTH)/PRdefs
LIBDEPTH=$(ROOT)/PR/libultra
include $(LIBDEPTH)/libdefs
sinclude ../companydefs
LCOPTS = -non_shared -mips2 -fullwarn -G 0
LCINCS = -I. -I$(LIBDEPTH)/$(COMPANY)/gu -I$(LIBDEPTH)/include -I$(PRDEPTH)/include
LASOPTS= -non_shared -mips2 -G 0
HFILES =
CFILES = \
mtxcatl.c \
mtxxfml.c \
mtxxfmf.c \
rotate.c
ASFILES = \
mtxident.s \
mtxidentf.s \
mtxf2l.s \
mtxl2f.s \
mtxcatf.s \
scale.s \
scalef.s \
normalize.s \
translate.s \
translatef.s
LDIRT =
sinclude locdefs
include $(LIBDEPTH)/librules
include $(PRDEPTH)/PRrules
install! default
$(INSTALL) -m 444 -F /usr/src/PR/libsrc/libultra/mgu $(SOURCES)
$(INSTALL) -m 444 -F /usr/src/PR/libsrc/libultra/mgu \
-src Makefile.src Makefile
clobber clean: $(_FORCE)
@for i in $(TARGETS) ; do \
cd $(LIBDEPTH)/$$i ; \
$(MAKE) -f $(LIBDEPTH)/$(COMPANY)/$(SUBDIR)/Makefile rmldirt ;\
done
rmldirt: $(_FORCE)
rm -rf $(LDIRT)