[Ffmpeg-devel] [PATCH] fix config.mak: No such file or directory

Limin Wang lance.lmwang
Thu Apr 12 15:44:26 CEST 2007


Now you don't need run ./configure before make, just type:
"make" OR "make ARGS='your configure arguments'" if you want input
configure argument.

If you have done "make distclean", it'll OK if you did it again.

Please review it.

-------------- next part --------------
Index: Makefile
--- Makefile	(revision 8717)
+++ Makefile	(working copy)
@@ -2,7 +2,9 @@
 # Main ffmpeg Makefile
 # (c) 2000-2004 Fabrice Bellard
+ifeq (config.mak,$(wildcard config.mak))
 include config.mak
@@ -190,9 +192,12 @@
 	$(MAKE) -C vhook       depend
-.depend: $(SRCS) version.h
+.depend: $(SRCS) config.mak version.h
 	$(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(filter-out %.h,$^) 1>.depend
+config.mak: $(wildcard .svn/entries */.svn/entries */*/.svn/entries)
+	./configure $(ARGS)
 $(DEP_LIBS): lib
 .libs: $(DEP_LIBS)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070412/2b215e8f/attachment.pgp>

More information about the ffmpeg-devel mailing list