X-Git-Url: https://git.libav.org/?p=libav.git;a=blobdiff_plain;f=Makefile;h=ffa1b80a14e58280db6c51ae2bd207f698e92e49;hp=1650c89612e6ae5e57e4a2df92f20e538a6fd803;hb=5727b222ce256246bdaa5da39fc4d92b6057e6f3;hpb=85f07f223de9fbeb2b9d66db11f89091ac717926 diff --git a/Makefile b/Makefile index 1650c89612..ffa1b80a14 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ # Main ffmpeg Makefile # (c) 2000, 2001 Gerard Lantau # -include config.mk +include config.mak -CFLAGS= -O2 -Wall -g -I./libavcodec -I./libav +CFLAGS= $(OPTFLAGS) -Wall -g -I./libavcodec -I./libav LDFLAGS= -g -ifdef CONFIG_GPROF +ifeq ($(TARGET_GPROF),yes) CFLAGS+=-p LDFLAGS+=-p endif @@ -28,7 +28,7 @@ ffserver: ffserver.o libav/libav.a libavcodec/libavcodec.a gcc $(CFLAGS) -c -o $@ $< install: all - install -s -m 755 $(PROG) $(PREFIX)/bin + install -s -m 755 $(PROG) $(prefix)/bin clean: make -C libavcodec clean @@ -36,7 +36,7 @@ clean: rm -f *.o *~ gmon.out TAGS $(PROG) distclean: clean - rm -f Rules.mk config.h + rm -f config.mak config.h TAGS: etags *.[ch] libav/*.[ch] libavcodec/*.[ch]