diff options
author | Måns Rullgård <mans@mansr.com> | 2007-02-27 19:00:26 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-02-27 19:00:26 +0000 |
commit | 0cb8579af281b85065eec84e6c2eb3fb9acc9144 (patch) | |
tree | 0be025cafb9dccf7ba8c3d5f69684d7c76f4882f | |
parent | 1faf7dc807811ab7479435940a488488e0f90dcd (diff) | |
download | ffmpeg-0cb8579af281b85065eec84e6c2eb3fb9acc9144.tar.gz |
simplify
Originally committed as revision 8152 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | Makefile | 21 |
1 files changed, 6 insertions, 15 deletions
@@ -11,22 +11,13 @@ CFLAGS=$(OPTFLAGS) -I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE LDFLAGS+= -g -ifeq ($(CONFIG_FFMPEG),yes) -MANPAGES=doc/ffmpeg.1 -PROGS_G+=ffmpeg_g$(EXESUF) -PROGS+=ffmpeg$(EXESUF) -endif - -ifeq ($(CONFIG_FFSERVER),yes) -MANPAGES+=doc/ffserver.1 -PROGS+=ffserver$(EXESUF) -endif +PROGS-$(CONFIG_FFMPEG) += ffmpeg +PROGS-$(CONFIG_FFPLAY) += ffplay +PROGS-$(CONFIG_FFSERVER) += ffserver -ifeq ($(CONFIG_FFPLAY),yes) -MANPAGES+=doc/ffplay.1 -PROGS_G+=ffplay_g$(EXESUF) -PROGS+=ffplay$(EXESUF) -endif +PROGS = $(addsuffix $(EXESUF), $(PROGS-yes)) +PROGS_G = $(addsuffix _g$(EXESUF), $(PROGS-yes)) +MANPAGES = $(addprefix doc/, $(addsuffix .1, $(PROGS-yes))) BASENAMES=ffmpeg ffplay ffserver ALLPROGS=$(addsuffix $(EXESUF), $(BASENAMES)) |