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
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
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=
# 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)
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 #####
# 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