summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-26 20:35:23 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-26 20:35:23 +0000
commit4fa0ab76e64d6fa7c6a9dbd351d990c650ad428c (patch)
tree29399735338011de0268e590ba74f7b700849669 /Makefile
parent2d3fd979f953cf29fa73abc02f0fb526990e1656 (diff)
downloadmpv-4fa0ab76e64d6fa7c6a9dbd351d990c650ad428c.tar.bz2
mpv-4fa0ab76e64d6fa7c6a9dbd351d990c650ad428c.tar.xz
forcing user to re-run ./configure if it's changed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@644 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f57045dcf0..f247c69b76 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ VO_LIBS = -Llibvo -lvo $(X_LIBS)
# .PHONY: all clean
-all: version.h $(PRG) $(PRG_CFG)
+all: version.h config.h $(PRG) $(PRG_CFG)
# $(PRG_AVIP)
.c.o:
@@ -96,6 +96,13 @@ depend: .depend
.depend: Makefile config.mak config.h
makedepend -f- -- $(CFLAGS) -- mplayer.c mplayerHQ.c aviparse.c tvision.c $(SRCS) 1>.depend 2>/dev/null
+# ./configure must be run if it changed in CVS
+config.h: configure
+ @echo "############################################################"
+ @echo "####### Please run ./configure again - it's changed! #######"
+ @echo "############################################################"
+ @exit 1
+
# rebuild at every config.h/config.mak change:
version.h: config.h config.mak Makefile
$(MAKE) distclean