]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - BSDmakefile
r_picmipworld - when 0, gl_picmip does not apply to world models (because they tend...
[xonotic/darkplaces.git] / BSDmakefile
index 1f8bad720d96d952cee345f785d7276cb728eabb..249a2bc960d248f13b649f88cf120e4aea6b0cd4 100644 (file)
@@ -7,8 +7,6 @@ DP_MAKE_TARGET=bsd
 .endif
 DP_ARCH != uname
 
-CFLAGS_MAKEDEP=-MD
-
 # Command used to delete files
 CMD_RM=$(CMD_UNIXRM)
 
@@ -68,6 +66,16 @@ LIB_SOUND=$(LIB_SND_BSD)
 .endif
 
 
+##### Extra CFLAGS #####
+
+CFLAGS_MAKEDEP=-MD
+.ifdef DP_FS_BASEDIR
+CFLAGS_FS=-DDP_FS_BASEDIR='\"$(DP_FS_BASEDIR)\"'
+.else
+CFLAGS_FS=
+.endif
+
+
 ##### BSD Make specific definitions #####
 
 MAKE:=$(MAKE) -f BSDmakefile