]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Clean up makefiles a bit. Remove leftovers of stuff no longer in the engine
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 16 Jun 2020 12:39:51 +0000 (12:39 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 16 Jun 2020 12:39:51 +0000 (12:39 +0000)
Slightly clean up the makefiles. 3DRAS and D3D don't exist in the engine
anymore.

Fix from nico: https://gitlab.com/xonotic/darkplaces/-/merge_requests/91

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12681 d7cf8633-e32d-0410-b094-e92efae38249

BSDmakefile
makefile
makefile.inc

index b6cebea7de804184b8e0746802c64de28f772a2d..0c5e55cc47dff9c249cdcd3e5eb1d73c2b05c336 100644 (file)
@@ -33,10 +33,10 @@ DP_LINK_CRYPTO_RIJNDAEL?=dlopen
 DP_VIDEO_CAPTURE?=enabled
 .if $(DP_VIDEO_CAPTURE) == "enabled"
   CFLAGS_VIDEO_CAPTURE=-DCONFIG_VIDEO_CAPTURE
-  OBJ_VIDEO_CAPTURE = cap_avi.o cap_ogg.o
+  OBJ_VIDEO_CAPTURE=cap_avi.o cap_ogg.o
 .else
   CFLAGS_VIDEO_CAPTURE=
-  OBJ_VIDEO_CAPTURE =
+  OBJ_VIDEO_CAPTURE=
 .endif
 
 # X11 libs
index 17c677692b22342b1325adb29963e8a9e811315a..685fb63d29fc8deacdbff8ffbd7dd03b1a5f26dc 100644 (file)
--- a/makefile
+++ b/makefile
@@ -78,7 +78,7 @@ TARGETS_NEXUIZ=sv-nexuiz sdl-nexuiz
 DP_VIDEO_CAPTURE?=enabled
 ifeq ($(DP_VIDEO_CAPTURE), enabled)
        CFLAGS_VIDEO_CAPTURE=-DCONFIG_VIDEO_CAPTURE
-       OBJ_VIDEO_CAPTURE= cap_avi.o cap_ogg.o
+       OBJ_VIDEO_CAPTURE=cap_avi.o cap_ogg.o
 else
        CFLAGS_VIDEO_CAPTURE=
        OBJ_VIDEO_CAPTURE=
@@ -213,9 +213,7 @@ ifeq ($(WIN64RELEASE), 1)
 #      WINDRES=$(TARGET)-windres
 endif
 
-CFLAGS_D3D=
 CFLAGS_WARNINGS=-Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes
-LDFLAGS_D3D=
 
 
 ifeq ($(DP_MAKE_TARGET), mingw)
index 6d9826fbb9f758060daf0db9dd22676c3a1cf6f0..3c4982cc85f4046992b8c54f8dc24584cf227e65 100644 (file)
@@ -71,10 +71,6 @@ LIB_SND_BSD=
 OBJ_SND_WIN=$(OBJ_SND_COMMON) snd_win.o
 LIB_SND_WIN=
 
-# Qantourisc's 3D Realtime Acoustic Lib (3D RAS)
-OBJ_SND_3DRAS=snd_3dras.o
-LIB_SND_3DRAS=
-
 
 ###### Common objects and flags #####
 
@@ -171,7 +167,7 @@ OBJ_SDL= builddate.c sys_sdl.o vid_sdl.o thread_sdl.o $(OBJ_MENU) $(OBJ_SND_COMM
 
 
 # Compilation
-CFLAGS_COMMON=$(CFLAGS_MAKEDEP) $(CFLAGS_PRELOAD) $(CFLAGS_FS) $(CFLAGS_WARNINGS) $(CFLAGS_LIBZ) $(CFLAGS_LIBJPEG) $(CFLAGS_D3D) $(CFLAGS_NET) $(CFLAGS_SDL) -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../
+CFLAGS_COMMON=$(CFLAGS_MAKEDEP) $(CFLAGS_PRELOAD) $(CFLAGS_FS) $(CFLAGS_WARNINGS) $(CFLAGS_LIBZ) $(CFLAGS_LIBJPEG) $(CFLAGS_NET) $(CFLAGS_SDL) -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../
 CFLAGS_CLIENT=-DCONFIG_MENU $(CFLAGS_VIDEO_CAPTURE)
 CFLAGS_SERVER=
 CFLAGS_DEBUG=-ggdb