Makefile
1.1 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
LIB = $(ROOT)/usr/lib
LPR = $(LIB)/PR
INC = $(ROOT)/usr/include
CC = gcc
RM = del
LD = ld
# If you are using older N64OS than OS2.0i with patch5, uncomment next line.
#OLD_AUDIO_DEF = -D_OLD_AUDIO_LIBRARY
ARCHIVES = libn_gaudio_sc.a
.c.o:
$(CC) -O3 -G 0 -c -I. -I$(INC) -I$(INC)/PR -D_LANGUAGE_C -D_MIPS_SZLONG=32 -DMIPS_SZINT=32 -DN_MICRO $(OLD_AUDIO_DEF) $<
LIBFILES = \
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
LIBOBJECTS = $(LIBFILES:.c=.o)
default: $(ARCHIVES)
remove:
$(RM) $(ARCHIVES)
$(RM) *.o
$(ARCHIVES): $(LIBOBJECTS)
ar rc $(ARCHIVES) $(LIBOBJECTS)
# @echo "*** move target file to upper directory ***"
# ren $(ARCHIVES) ..