[cvs] / xvidcore / examples / Makefile Repository:
ViewVC logotype

View of /xvidcore/examples/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (download) (annotate)
Mon May 23 09:29:43 2005 UTC (18 years, 10 months ago) by Skal
Branch: MAIN
CVS Tags: release-1_1_3-final, release-1_1_0, release-1_1_3, release-1_1_2, release-1_1_1-final, release-1_1_0_final
Branch point for: release-1_1-branch
Changes since 1.7: +2 -2 lines
	encoder.c: simplify_time() optimized by Euclid.

	bitstream.c: write_video_packet_header() was buggy and
	kind of obfuscated, as noticed by Sigdrak at free.fr.

	from Edouard:

	gcc4 warning removal.
	- No executable shared objects installed
	  (Do not install the lib as executable. It's no use as the SO has no
 	   main symbol anyway, and the static lib is not runnable anyway.)
	- Statically link xvid_bench with libxvidcore.a
	- New autoconf garbage removal
	- Quotes in configure.in
#############################################################################
#
# XviD examples Makefile
#
# $Id: Makefile,v 1.8 2005/05/23 09:29:43 Skal Exp $
#
#############################################################################

include ../build/generic/platform.inc

HDIR    = -I../src
CFLAGS  = -g $(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) -o $@ $< $(LDFLAGS)

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

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

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

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

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