Commit 2cc8ae96 authored by Fabrice Bellard's avatar Fabrice Bellard

use MAKE variable


Originally committed as revision 63 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0c1e384c
......@@ -15,8 +15,8 @@ PROG= ffmpeg ffserver
all: lib $(PROG)
lib:
make -C libavcodec all
make -C libav all
$(MAKE) -C libavcodec all
$(MAKE) -C libav all
ffmpeg: ffmpeg.o libav/libav.a libavcodec/libavcodec.a
gcc $(LDFLAGS) -o $@ $^ -lm
......@@ -31,8 +31,8 @@ install: all
install -s -m 755 $(PROG) $(prefix)/bin
clean:
make -C libavcodec clean
make -C libav clean
$(MAKE) -C libavcodec clean
$(MAKE) -C libav clean
rm -f *.o *~ gmon.out TAGS $(PROG)
distclean: clean
......
......@@ -68,6 +68,7 @@ if test -z "$CFLAGS"; then
fi
echo "prefix=$prefix" >> config.mak
echo "MAKE=make" >> config.mak
echo "CC=$cc" >> config.mak
echo "AR=$ar" >> config.mak
echo "OPTFLAGS=$CFLAGS" >> config.mak
......
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