]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - makefile
Improve clang support. Add tcc support. Clang builds now perform as good as gcc
[xonotic/darkplaces.git] / makefile
index 621c73e9fc55bdd782471eb74567e3dfa7a3b87c..973113d1a375231d56665e4d306f2479a9e961bd 100644 (file)
--- a/makefile
+++ b/makefile
@@ -308,8 +308,10 @@ endif
 
 
 ##### Extra CFLAGS #####
+ifneq ($(CC), tcc)
+       CFLAGS_MAKEDEP?=-MMD
+endif
 
-CFLAGS_MAKEDEP?=-MMD
 ifdef DP_FS_BASEDIR
        CFLAGS_FS=-DDP_FS_BASEDIR=\"$(DP_FS_BASEDIR)\"
 else