mirror of
https://github.com/mpv-player/mpv
synced 2025-04-08 10:32:51 +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:
parent
2d3fd979f9
commit
4fa0ab76e6
9
Makefile
9
Makefile
@ -30,7 +30,7 @@ VO_LIBS = -Llibvo -lvo $(X_LIBS)
|
|||||||
|
|
||||||
# .PHONY: all clean
|
# .PHONY: all clean
|
||||||
|
|
||||||
all: version.h $(PRG) $(PRG_CFG)
|
all: version.h config.h $(PRG) $(PRG_CFG)
|
||||||
# $(PRG_AVIP)
|
# $(PRG_AVIP)
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
@ -96,6 +96,13 @@ depend: .depend
|
|||||||
.depend: Makefile config.mak config.h
|
.depend: Makefile config.mak config.h
|
||||||
makedepend -f- -- $(CFLAGS) -- mplayer.c mplayerHQ.c aviparse.c tvision.c $(SRCS) 1>.depend 2>/dev/null
|
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:
|
# rebuild at every config.h/config.mak change:
|
||||||
version.h: config.h config.mak Makefile
|
version.h: config.h config.mak Makefile
|
||||||
$(MAKE) distclean
|
$(MAKE) distclean
|
||||||
|
Loading…
Reference in New Issue
Block a user