mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
54 lines
1.7 KiB
Diff
54 lines
1.7 KiB
Diff
diff --git tyrquake-clean/Makefile tyrquake-workdir/Makefile
|
|
index 5709a79..25ddf7c 100644
|
|
--- tyrquake-clean/Makefile
|
|
+++ tyrquake-workdir/Makefile
|
|
@@ -14,12 +14,12 @@ DOC_DIR ?= doc
|
|
DIST_DIR ?= dist
|
|
DEBUG ?= N# Compile with debug info
|
|
OPTIMIZED_CFLAGS ?= Y# Enable compiler optimisations (if DEBUG != Y)
|
|
-USE_X86_ASM ?= $(I386_GUESS)
|
|
-USE_SDL ?= N# New (experimental) SDL video/sound/input targets
|
|
-LOCALBASE ?= /usr/local
|
|
+USE_X86_ASM ?= N
|
|
+USE_SDL ?= Y# New (experimental) SDL video/sound/input targets
|
|
+LOCALBASE ?= /usr/
|
|
QBASEDIR ?= .# Default basedir for quake data files (Linux/BSD only)
|
|
-TARGET_OS ?= $(HOST_OS)
|
|
-TARGET_UNIX ?= $(if $(filter UNIX,$(TARGET_OS)),$(HOST_UNIX),)
|
|
+TARGET_OS ?= UNIX
|
|
+TARGET_UNIX ?= Astral
|
|
|
|
# ============================================================================
|
|
|
|
@@ -134,6 +134,10 @@ ifeq ($(TARGET_UNIX),linux)
|
|
CD_TARGET ?= linux
|
|
SND_TARGET ?= pulseaudio
|
|
endif
|
|
+ifeq ($(TARGET_UNIX),Astral)
|
|
+CD_TARGET ?= null
|
|
+SND_TARGET ?= null
|
|
+endif
|
|
endif
|
|
|
|
ifneq (,$(findstring $(TARGET_OS),WIN32 WIN64))
|
|
@@ -350,8 +354,8 @@ QWGLDIR = $(BUILD_DIR)/qwgl
|
|
QWSVDIR = $(BUILD_DIR)/qwsv
|
|
|
|
APPS = tyr-quake$(EXT) tyr-glquake$(EXT) \
|
|
- tyr-qwcl$(EXT) tyr-glqwcl$(EXT) \
|
|
- tyr-qwsv$(EXT)
|
|
+ #tyr-qwcl$(EXT) tyr-glqwcl$(EXT) \
|
|
+ #tyr-qwsv$(EXT)
|
|
|
|
default: all
|
|
|
|
@@ -936,7 +940,7 @@ CL_CPPFLAGS += -DX11
|
|
CL_OBJS += x11_core.o vid_x11_common.o
|
|
SW_OBJS += vid_x.o
|
|
GL_OBJS += vid_glx.o
|
|
-CL_LIBS += X11 Xext Xxf86vm
|
|
+CL_LIBS += X11 Xext Xxf86vm c
|
|
ifneq ($(X11BASE),)
|
|
CL_CPPFLAGS += -idirafter $(X11BASE)/include
|
|
CL_LFLAGS += $(call libdir-check,$(X11BASE)/lib)
|