]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
use $(WINDRES) variable for win32, don't hardcode the name
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 30 Sep 2007 12:58:34 +0000 (12:58 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 30 Sep 2007 12:58:34 +0000 (12:58 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7594 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index 7ca4143ce1313a1bde614367a8d9613d2b794a90..2d19f8239b74f50f82230bf3722537803bccae00 100644 (file)
@@ -239,6 +239,7 @@ LDFLAGS_BSDSDL=$(LDFLAGS_UNIXCOMMON) $(LDFLAGS_UNIXSDL)
 
 ##### Win32 specific variables #####
 
+WINDRES ?= windres
 #if you want CD sound in Win32
 OBJ_WINCD=cd_win.o
 #if you want no CD audio
@@ -404,10 +405,10 @@ cd_sdl.o: cd_sdl.c
        $(DO_CC) $(CFLAGS_SDL)
 
 darkplaces.o: %.o : %.rc
-       windres -o $@ $<
+       $(WINDRES) -o $@ $<
 
 nexuiz.o: %.o : %.rc
-       windres -o $@ $<
+       $(WINDRES) -o $@ $<
 
 .c.o:
        $(DO_CC)