[svn] / branches / dev-api-4 / xvidcore / examples / Makefile Repository:
ViewVC logotype

View of /branches/dev-api-4/xvidcore/examples/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1154 - (download) (annotate)
Sun Sep 28 13:21:59 2003 UTC (20 years, 6 months ago) by edgomez
File size: 908 byte(s)
New build system for *nix platforms. It now uses an 'out of source' tree
build process that is much cleaner. This requires a VPATH support.

This patch includes some small fixes to the configure script, mainly for
MacOSX.
#############################################################################
#
# XviD examples Makefile
#
# $Id: Makefile,v 1.3.2.4 2003-09-28 13:21:59 edgomez Exp $
#
#############################################################################

include ../build/generic/platform.inc

HDIR    = -I../src
CFLAGS  = -O2 $(ARCHITECTURE) $(BUS) $(ENDIANNESS) $(FEATURES) $(SPECIFIC_CFLAGS)
LDFLAGS = -lc -lm -lxvidcore

SOURCES= xvid_encraw.c xvid_decraw.c xvid_bench.c
OBJECTS=$(SOURCES:.c=.o)
TESTS=$(SOURCES:.c=)

all: $(TESTS)

xvid_encraw: xvid_encraw.o
	$(CC) $(LDFLAGS) -o $@ $<

xvid_encraw.o: xvid_encraw.c
	$(CC) $(CFLAGS) $(HDIR) -c $<

xvid_decraw: xvid_decraw.o
	$(CC) $(LDFLAGS) -o $@ $<

xvid_decraw.o: xvid_decraw.c
	$(CC) $(CFLAGS) $(HDIR) -c $<

xvid_bench: xvid_bench.o
	$(CC) $(LDFLAGS) -o $@ $<

xvid_bench.o: xvid_bench.c
	$(CC) $(CFLAGS) $(HDIR) -c $<

clean:
	rm -f $(OBJECTS) $(TESTS)

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4