fix quoting for machine type
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 18 Jan 2008 14:19:58 +0000 (14:19 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 18 Jan 2008 14:19:58 +0000 (14:19 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7976 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index 608677f..a289d6b 100644 (file)
@@ -153,10 +153,10 @@ OBJ_SDL= builddate.c sys_sdl.o vid_sdl.o $(OBJ_SND_COMMON) snd_sdl.o cd_sdl.o $(
 # Compilation
 CFLAGS_COMMON=$(CFLAGS_MAKEDEP) $(CFLAGS_PRELOAD) $(CFLAGS_FS) -Wall -Wsign-compare -Wdeclaration-after-statement
 ifdef DP_ARCH
-CFLAGS_COMMON+=-DDP_ARCH=\\\"$(DP_ARCH)\\\"
+CFLAGS_COMMON+=-DDP_ARCH=\"\\\"$(DP_ARCH)\\\"\"
 endif
 ifdef DP_MACHINE
-CFLAGS_COMMON+=-DDP_MACHINE=\\\"$(DP_MACHINE)\\\"
+CFLAGS_COMMON+=-DDP_MACHINE=\"\\\"$(DP_MACHINE)\\\"\"
 endif
 CFLAGS_DEBUG=-ggdb
 CFLAGS_PROFILE=-g -pg -ggdb