Makefile.sgi.nualsgi
1.83 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
63
64
65
#!smake -k
#=======================================================================#
# Mirror_House #
# Makefile #
# #
# Copyright (C) 1997,1998, NINTENDO Co,Ltd. #
# #
#-----------------------------------------------------------------------#
include $(ROOT)/usr/include/make/PRdefs
# NuSYSTEM のインクルードファイルとライブラリが存在するディレクトリ
#
N64KITDIR = /usr/local/n64kit
NUSYSINCDIR = $(N64KITDIR)/nusys/include
NUSYSLIBDIR = $(N64KITDIR)/nusys/lib
NUSTDINCDIR = $(N64KITDIR)/nustd/include
NUSTDLIBDIR = $(N64KITDIR)/nustd/lib
LIBDIR = ./Lib
USR_INC = ./Include
#SUBDIRS = Mirror_House_980713/Nd Mirror_House_980713/Resource_Char Mirror_House_980713/Resource_Bg Mirror_House_980713
SUBDIRS = Mirror_House_980713/Nd Mirror_House_980713/Resource_Char Mirror_House_980713/Resource_Bg
default:
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "make" "in $(CURRENT_DIR)/$$i..."; \
make -f Makefile.sgi; make -f Makefile.sgi install) ; \
done
cd Mirror_House_980713/Data ; \
make -f Makefile.sgi ; \
cd Mirror_House_980713 ; \
make -f Makefile.sgi.nualsgi ; \
clean:
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "make" "in $(CURRENT_DIR)/$$i..."; \
make -f Makefile.sgi clean) ; \
done
cd Mirror_House_980713/Data ; \
echo "make" "in $(CURRENT_DIR)/Mirror_House_980713/Data..."; \
make -f Makefile.sgi clean; \
cd Mirror_House_980713/Lib ; \
echo "make" "in $(CURRENT_DIR)/Mirror_House_980713/Lib..."; \
rm -rf *.a ; \
cd Mirror_House_980713 ; \
echo "make" "in $(CURRENT_DIR)/Mirror_House_980713..."; \
make -f Makefile.sgi.nualsgi clean ; \
$(CODESEGMENT): $(CODEOBJECTS)
$(LD) -o $(CODESEGMENT) -r $(CODEOBJECTS) $(LDFLAGS)
rom $(APP): spec $(OBJECTS) $(MAKEROM)
$(MAKEROM) -o -r rom -I$(NUSYSINCDIR) spec
# $(MAKEROM) -o -s 9 -r rom -I$(NUSYSINCDIR) spec
makemask rom