Makefile
1.14 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
#
# Makefile for Zelda 64
#
PRDEPTH = ../../../
include $(PRDEPTH)/PRdefs
SUBDIRS = F3DZEX F3DZEX.NoN F3DZLP.Rej F3DZLX F3DZLX.NoN F3DZLX.Rej L3DZEX
COMMONPREF = Zelda
default: $(_FORCE)
$(SUBDIRS_MAKERULE)
install:
exports: $(_FORCE)
$(SUBDIRS_MAKERULE)
PDIR = package
PACKNAME = F3DZEX-1.21.B
package: default
if test -r $(PDIR)/$(PACKNAME); then rm -rf $(PDIR)/$(PACKNAME); fi
mkdir -p $(PDIR)/$(PACKNAME)/os_patches
cp [FL]*/gsp[FL]3DZ*.fifo.o $(PDIR)/$(PACKNAME)
cp doc.jp/README $(PDIR)/$(PACKNAME)
cp -r include-2.0e $(PDIR)/$(PACKNAME)/header-2.0e
cp -r include-2.0f $(PDIR)/$(PACKNAME)/header-2.0f
cp -r include-2.0g $(PDIR)/$(PACKNAME)/header-2.0g
cp -r include-2.0h $(PDIR)/$(PACKNAME)/header-2.0h
(cd $(ROOT)/PR/libultra/io; make sptask.o)
cp $(ROOT)/PR/libultra/io/sptask.o $(PDIR)/$(PACKNAME)/os_patches
rm $(ROOT)/PR/libultra/io/sptask.o
cp Makefile.os_patches $(PDIR)/$(PACKNAME)/os_patches/Makefile
(cd $(PDIR); \
tar cvf $(PACKNAME).tar $(PACKNAME); \
gzip $(PACKNAME).tar; \
uuencode $(PACKNAME).tar.gz $(PACKNAME).tar.gz > $(PACKNAME).tar.gz.uu)
$(COMMONTARGS): $(_FORCE)
$(SUBDIRS_MAKERULE)
include $(COMMONRULES)