Makefile
1.24 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
66
67
#!smake
#
# Makefile for audio library subdirectory
#
include $(ROOT)/usr/include/make/PRdefs
# if you are using older N64OS than OS2.0i with patch5, uncomment next line.
#OLD_AUDIO_DEF = -D_OLD_AUDIO_LIBRARY
ARCHIVES=libn_audio_sc.a
LCINCS = \
-I.\
-I./include\
-I$(ROOT)/usr/include\
-I$(ROOT)/usr/include/PR
LCDEFS = -D_ULTRA64 -DNDEBUG -D_FINALROM -DN_MICRO $(OLD_AUDIO_DEF)
LCOPTS = -non_shared -fullwarn -G 0 -Wab,-r4300_mul
# LCOPTS += -g3 -mips2 -O3
LCOPTS += -mips2 -O2
OPTIMIZER =
CFILES = \
n_auxbus.c \
n_drvrNew.c \
n_env.c \
n_load.c \
n_mainbus.c \
n_resample.c \
n_reverb.c \
n_save.c \
n_sl.c \
n_synaddplayer.c \
n_synallocfx.c \
n_synallocvoice.c \
n_syndelete.c \
n_synfreefx.c \
n_synfreevoice.c \
n_syngetfxref.c \
n_syngetpriority.c \
n_synremoveplayer.c \
n_synsetfxmix.c \
n_synsetfxparam.c \
n_synsetfxtype.c \
n_synsetpan.c \
n_synsetpitch.c \
n_synsetpriority.c \
n_synsetvol.c \
n_synstartvoice.c \
n_synstartvoiceparam.c \
n_synstopvoice.c \
n_synthesizer.c
COBJECTS = $(CFILES:.c=.o)
$(ARCHIVES): $(COBJECTS)
ar cru $(ARCHIVES) $(COBJECTS)
# @echo "*** move target file to upper directory ***"
# mv -f $(ARCHIVES) ../
# include $(ROOT)/PR/PRrules
include $(COMMONRULES)
default: $(ARCHIVES)