1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-23 03:37:27 +00:00

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
This commit is contained in:
arpi_esp 2001-04-26 20:35:23 +00:00
parent 2d3fd979f9
commit 4fa0ab76e6

View File

@ -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