[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 909 - (download) (annotate)
Sun Mar 9 00:28:09 2003 UTC (21 years ago) by edgomez
File size: 959 byte(s)
2003-03-09 00:23:52 GMT	Edouard Gomez <ed.gomez@free.fr>	patch-2

    Summary:
      Updated xvid_encraw for new API.
    Revision:
      xvidcore--devapi4--1.0--patch-2

    This patch updates the xvid_encraw example to support the
    new API. As it's the first patch for API 4 support, I
    disabled all other examples.

    BUG: first frame type is Unknown, I suppose I'm missing
         a subtility of the new API.

    modified files:
     examples/Makefile examples/xvid_encraw.c src/encoder.c
#############################################################################
#
# XviD examples Makefile
#
# $Id: Makefile,v 1.3.2.1 2003-03-09 00:28:09 edgomez Exp $
#
#############################################################################

CC=gcc

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

SOURCES= xvid_encraw.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