[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 1060 - (download) (annotate)
Tue Jun 10 09:14:48 2003 UTC (16 years, 4 months ago) by edgomez
File size: 1052 byte(s)
xvid_bench update + corresponding Makefile update
#############################################################################
#
# XviD examples Makefile
#
# $Id: Makefile,v 1.3.2.3 2003-06-10 09:14:43 edgomez Exp $
#
#############################################################################

include ../build/generic/platform.inc

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

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

all: $(TESTS)

xvid_encraw: xvid_encraw.o ../build/generic/libxvidcore.a
	$(CC) $(LDFLAGS) -o $@ $< ../build/generic/libxvidcore.a

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

xvid_decraw: xvid_decraw.o ../build/generic/libxvidcore.a
	$(CC) $(LDFLAGS) -o $@ $< ../build/generic/libxvidcore.a

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

xvid_bench: xvid_bench.o
	$(CC) $(LDFLAGS) -o $@ $< ../build/generic/libxvidcore.a

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