Makefile
867 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
46
47
48
49
#
# Makefile for RSP microcode
#
PRDEPTH=../../
include $(PRDEPTH)/PRdefs
CVERSION = -ansi -wlint,-zaihv -woff 818
OPTIMIZER = -g
# local defs
LCDEFS =
# local includes
LCINCS = -I. -I$(ROOT)/usr/include/PR -I$(ROOT)/PR/lib/libvid
LCOPTS = -fullwarn
LDOPTS = -L. -L$(ROOT)/usr/lib/PR
LDLIBS = -ll -lm
#LDLIBS = -lgu -lem -lGL -lX11
COMMONPREF = video
SUBDIRS = mc idct
HFILES = dct.h tok.h nidct.h
CFILES = main.c tok.c mpeg_dec.c dct.c nidct.c
TARGETS = mdec
mdec: $(OBJECTS)
${CC} ${LCINCS} ${LDOPTS} -o $@ $(OBJECTS) ${LDLIBS}
default: ${TARGETS}
# $(SUBDIRS_MAKERULE)
include $(COMMONRULES)
install: default
# $(INSTALL) -m 444 -F /usr/lib/PR $(TARGETS)
# $(INSTALL) -m 444 -F /usr/src/PR/libvid Makefile $(SOURCES)
exports: install
$(COMMONTARGS): $(COMMONPREF)$$@
# $(SUBDIRS_MAKERULE)
# DO NOT DELETE THIS LINE -- make depend depends on it.