(Unix build scripts) Failed mkdep doesn't result in empty .d files anymore.

Now using the gcc 3 "-MF" and "-MT" options.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2389 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2006-06-22 12:55:56 +00:00
parent f935c82094
commit 2d6763b0d1
3 changed files with 13 additions and 6 deletions
+2
View File
@@ -1,4 +1,6 @@
Changes towards version 0.6: Changes towards version 0.6:
- (Unix build scripts) Failed mkdep doesn't result in empty .d files
anymore. Now using the gcc 3 "-MF" and "-MT" options. - SvdB
- removed internal libmikmod, adding a dependancy on an external one - SvdB - removed internal libmikmod, adding a dependancy on an external one - SvdB
- Added a quit button for the Super Melee main menu - Michael - Added a quit button for the Super Melee main menu - Michael
- Fixed sporadic uqm.cfg loading errors in release builds - Alex - Fixed sporadic uqm.cfg loading errors in release builds - Alex
+7 -2
View File
@@ -1,7 +1,7 @@
To build The Ur-Quan Masters, you need at least the following software: To build The Ur-Quan Masters, you need at least the following software:
For Linux: For unix-like platforms (such as Linux, BSD, Solaris, MinGW):
GCC - GNU C Compiler GCC 3.0 - GNU C Compiler
http://gcc.gnu.org/ http://gcc.gnu.org/
Debian package: gcc Debian package: gcc
@@ -68,6 +68,11 @@ Tremor (alternative for libogg and libvorbis)
Homepage: http://www.xiph.org/vorbis/ Homepage: http://www.xiph.org/vorbis/
Download: http://svn.xiph.org/trunk/Tremor (Subversion) Download: http://svn.xiph.org/trunk/Tremor (Subversion)
Libmikmod
Audio codec to play .mof files, used for the original PC music.
Homepage: http://mikmod.raphnet.net/
Download: http://sourceforge.net/project/showfiles.php?group_id=40531
Zlib v1.2 Zlib v1.2
Data compression / decompression library Data compression / decompression library
Homepage: http://www.gzip.org/zlib/ Homepage: http://www.gzip.org/zlib/
+4 -4
View File
@@ -1,6 +1,8 @@
# Make file for the uqm build system. Invoked from build/unix/build_functions # Make file for the uqm build system. Invoked from build/unix/build_functions
# By Serge van den Boom # By Serge van den Boom
.DELETE_ON_ERROR:
SOURCES := $(shell cat "$(DEPEND_FILE)") SOURCES := $(shell cat "$(DEPEND_FILE)")
-include $(SOURCES:=.d) -include $(SOURCES:=.d)
@@ -16,13 +18,11 @@ endef
endif endif
define act_mkdep_c define act_mkdep_c
$(MKDEPEND) $(CFLAGS) "$<" | \ $(MKDEPEND) $(CFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
$(SED) -e 's,^\(.*\).o:,'"$(@D)"'/\1.c.o:,' > "$@"
endef endef
define act_mkdep_m define act_mkdep_m
$(MKDEPEND) $(CFLAGS) "$<" | \ $(MKDEPEND) $(CFLAGS) "$<" -MT "$(@D)/$(<F).o" -MF "$@"
$(SED) -e 's,^\(.*\).o:,'"$(@D)"'/\1.m.o:,' > "$@"
endef endef
define act_windres define act_windres