From 9624871fa497188c8d234673a5633a1ddc0b8f97 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 30 Sep 2007 12:58:34 +0000 Subject: [PATCH] use $(WINDRES) variable for win32, don't hardcode the name git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7594 d7cf8633-e32d-0410-b094-e92efae38249 --- makefile.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makefile.inc b/makefile.inc index 7ca4143c..2d19f823 100644 --- a/makefile.inc +++ b/makefile.inc @@ -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) -- 2.39.2