summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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