mirror of https://git.ffmpeg.org/ffmpeg.git
added VPATH support - added regression targets
Originally committed as revision 529 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1ea4f59365
commit
dd9ca370a1
12
Makefile
12
Makefile
|
@ -1,9 +1,11 @@
|
||||||
# Main ffmpeg Makefile
|
# Main ffmpeg Makefile
|
||||||
# (c) 2000, 2001 Gerard Lantau
|
# (c) 2000, 2001, 2002 Gerard Lantau
|
||||||
#
|
#
|
||||||
include config.mak
|
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
|
LDFLAGS= -g
|
||||||
ifeq ($(TARGET_GPROF),yes)
|
ifeq ($(TARGET_GPROF),yes)
|
||||||
CFLAGS+=-p
|
CFLAGS+=-p
|
||||||
|
@ -63,6 +65,7 @@ depend:
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C libavcodec clean
|
$(MAKE) -C libavcodec clean
|
||||||
$(MAKE) -C libav clean
|
$(MAKE) -C libav clean
|
||||||
|
$(MAKE) -C tests clean
|
||||||
rm -f *.o *~ .depend gmon.out TAGS $(PROG)
|
rm -f *.o *~ .depend gmon.out TAGS $(PROG)
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
@ -72,6 +75,11 @@ distclean: clean
|
||||||
TAGS:
|
TAGS:
|
||||||
etags *.[ch] libav/*.[ch] libavcodec/*.[ch]
|
etags *.[ch] libav/*.[ch] libavcodec/*.[ch]
|
||||||
|
|
||||||
|
# regression tests
|
||||||
|
|
||||||
|
test mpeg4 mpeg: ffmpeg$(EXE)
|
||||||
|
make -C tests $@
|
||||||
|
|
||||||
ifneq ($(wildcard .depend),)
|
ifneq ($(wildcard .depend),)
|
||||||
include .depend
|
include .depend
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue