Makefile
730 Bytes
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
#
# Makefile for RSP graphics microcode
#
PRDEPTH=../../
include $(PRDEPTH)/PRdefs
CVERSION = -ansi -wlint,-zaihv
OPTIMIZER = -g
# local defs
LCDEFS =
# local includes
LCINCS = -I. -I$(ROOT)/usr/include/PR
LCOPTS = -fullwarn
LDOPTS = -L. -L$(ROOT)/usr/lib/PR
LDLIBS = -ll -lm
LDIRT = src out *.lst *.dat *.sym
AUDIO_INCL = ../graphics/rsp.h src_regs.h src_dmem.h src.i
AUDIO_CODE = src.s
TARGETS = src
default: all
install: ${TARGETS}
clean:
/bin/rm -f *.o $(LDIRT)
clobber: clean
/bin/rm -f ${TARGETS}
all: ${TARGETS}
#
# without a linker, we accomplish "modularity" by using include files
#
src: ${AUDIO_INCL} ${AUDIO_CODE}
rspasm ${LCINCS} -o $@ src.s
# DO NOT DELETE THIS LINE -- make depend depends on it.