# HG changeset patch # User arpi_esp # Date 988317323 0 # Node ID f1301ff4b9796a9841e5155d5cd9a2e6d7b35898 # Parent ea9f904513a474d551d101e01041c2f6bc45b7b4 forcing user to re-run ./configure if it's changed diff -r ea9f904513a4 -r f1301ff4b979 Makefile --- a/Makefile Thu Apr 26 20:23:24 2001 +0000 +++ b/Makefile Thu Apr 26 20:35:23 2001 +0000 @@ -30,7 +30,7 @@ # .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: 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