[svn] / tags / branch-release-1-0 / xvidcore / examples / Makefile Repository:
ViewVC logotype

View of /tags/branch-release-1-0/xvidcore/examples/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 908 - (download) (annotate)
Thu Mar 6 21:12:04 2003 UTC (16 years ago)
File size: 809 byte(s)
This commit was manufactured by cvs2svn to create tag 'branch-release-1-0'.
#############################################################################
#
# XviD examples Makefile
#
# $Id: Makefile,v 1.1 2002-09-28 14:52:20 edgomez Exp $
#
#############################################################################

# CC=gcc

HDIR    = -I ../sr
CFLAGS  = -Wall -Os
LDFLAGS = -lxvidcore -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
	$(CC) $(LDFLAGS) -o $@ $<

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

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


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

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