Revision 6a53fffd Makefile

View differences:

Makefile
85 85

  
86 86
ffplay.o ffplay.d: CFLAGS += $(SDL_CFLAGS)
87 87

  
88
cmdutils.o cmdutils.d: version.h
88
VERSION_SH  = $(SRC_PATH_BARE)/version.sh
89
SVN_ENTRIES = $(SRC_PATH_BARE)/.svn/entries
90

  
91
.version: $(wildcard $(SVN_ENTRIES)) $(VERSION_SH) config.mak
92
.version: M=@
93

  
94
version.h .version:
95
	$(M)$(VERSION_SH) $(SRC_PATH) $@ $(EXTRA_VERSION)
96
	$(Q)touch .version
97

  
98
# force version.sh to run whenever version might have changed
99
-include .version
89 100

  
90 101
alltools: $(TOOLS)
91 102

  

Also available in: Unified diff