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:
atmos4 2002-05-20 23:27:01 +00:00
parent 4c6ce6a195
commit e8a3e29e59
1 changed files with 2 additions and 2 deletions

View File

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