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

View of /xvidcore/examples/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (download) (annotate)
Wed Nov 27 21:09:10 2002 UTC (18 years, 4 months ago) by edgomez
Branch: MAIN
CVS Tags: release-0_9_1, release-0_9_2, merged-dev-api-3
Branch point for: release-0_9_1-fixes, dev-api-4
Changes since 1.2: +2 -2 lines
Ansi C + Win32 update for xvid_bench
#############################################################################
#
# XviD examples Makefile
#
# $Id: Makefile,v 1.3 2002/11/27 21:09:10 edgomez Exp $
#
#############################################################################

# CC=gcc

HDIR    = -I ../src
CFLAGS  = -Wall -Os
LDFLAGS = -lc -lm

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

all: $(TESTS)

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

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

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 $<


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

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