mirror of https://github.com/mpv-player/mpv
Fix gcc version display for gcc 3.1 (downwards compatible it seems - tested with 2.95.2)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6148 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4c6ce6a195
commit
e8a3e29e59
4
Makefile
4
Makefile
|
@ -277,7 +277,7 @@ distclean:
|
|||
dep: depend
|
||||
|
||||
depend:
|
||||
./version.sh `$(CC) --version`
|
||||
./version.sh `$(CC) -dumpversion`
|
||||
$(CC) -MM $(CFLAGS) mplayer.c mencoder.c $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend
|
||||
@for a in $(PARTS); do $(MAKE) -C $$a dep; done
|
||||
|
||||
|
@ -285,7 +285,7 @@ depend:
|
|||
|
||||
# rebuild at every config.h/config.mak change:
|
||||
version.h:
|
||||
./version.sh `$(CC) --version`
|
||||
./version.sh `$(CC) -dumpversion`
|
||||
ifeq ($(wildcard .developer),)
|
||||
$(MAKE) distclean
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue