Makefile 793 Bytes
#
# 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.