Makefile
793 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
#
# Makefile for video library
#
PRDEPTH=../../
include $(PRDEPTH)/PRdefs
CVERSION = -ansi -wlint,-zaihv -woff 818
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
#LDLIBS = -lgu -lem -lGL -lX11
HUF_TABLES = huf.h huf_tabs.h
MPEG_TABLES = huf_mpeg1_ac_tabs.h huf_mpeg1_mbh_tabs.h mpeg.h mpeg_defs.h mpeg_tok.h
HFILES = $(HUF_TABLES) $(MPEG_TABLES)
CFILES = main.c huf.c mpeg.c
TARGETS = huf
huf: $(OBJECTS)
${CC} ${LCINCS} -o $@ $(OBJECTS)
default: ${TARGETS}
include $(COMMONRULES)
exports: default
$(INSTALL) -m 444 -F /usr/lib/PR $(TARGETS)
install: default
$(INSTALL) -m 444 -F /usr/lib/PR $(TARGETS)
# DO NOT DELETE THIS LINE -- make depend depends on it.