Originally committed as revision 63 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
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
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