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