Commit 903fe59a authored by glantau's avatar glantau

added VPATH support - added regression targets


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@529 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c1652782
# Main ffmpeg Makefile
# (c) 2000, 2001 Gerard Lantau
# (c) 2000, 2001, 2002 Gerard Lantau
#
include config.mak
CFLAGS= $(OPTFLAGS) -Wall -g -I./libavcodec -I./libav
VPATH=$(SRC_PATH)
CFLAGS= $(OPTFLAGS) -Wall -g -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libav
LDFLAGS= -g
ifeq ($(TARGET_GPROF),yes)
CFLAGS+=-p
......@@ -63,6 +65,7 @@ depend:
clean:
$(MAKE) -C libavcodec clean
$(MAKE) -C libav clean
$(MAKE) -C tests clean
rm -f *.o *~ .depend gmon.out TAGS $(PROG)
distclean: clean
......@@ -72,6 +75,11 @@ distclean: clean
TAGS:
etags *.[ch] libav/*.[ch] libavcodec/*.[ch]
# regression tests
test mpeg4 mpeg: ffmpeg$(EXE)
make -C tests $@
ifneq ($(wildcard .depend),)
include .depend
endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment