[Ffmpeg-cvslog] r8153 - trunk/Makefile
mru
subversion
Tue Feb 27 23:51:30 CET 2007
Author: mru
Date: Tue Feb 27 23:51:30 2007
New Revision: 8153
Modified:
trunk/Makefile
Log:
simplify conditional targets
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Tue Feb 27 23:51:30 2007
@@ -31,13 +31,13 @@ DEP_LIBS=libavcodec/$(LIBPREF)avcodec$(L
endif
ifeq ($(CONFIG_VHOOK),yes)
-VHOOK=videohook
-INSTALLVHOOK=install-vhook
+all: videohook
+install: install-vhook
endif
ifeq ($(BUILD_DOC),yes)
-DOC=documentation
-INSTALLMAN=install-man
+all: documentation
+install: install-man
endif
OBJS = ffmpeg.o ffserver.o cmdutils.o ffplay.o
@@ -50,7 +50,7 @@ LDFLAGS+=-L./libswscale
EXTRALIBS+=-lswscale$(BUILDSUF)
endif
-all: lib $(PROGS) $(VHOOK) $(DOC)
+all: lib $(PROGS)
lib:
$(MAKE) -C libavutil all
@@ -107,7 +107,7 @@ videohook: .libs
documentation:
$(MAKE) -C doc all
-install: install-progs install-libs install-headers $(INSTALLMAN) $(INSTALLVHOOK)
+install: install-progs install-libs install-headers
ifeq ($(BUILD_SHARED),yes)
install-progs: $(PROGS) install-libs
More information about the ffmpeg-cvslog
mailing list