Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app will search for pk3 inside and next to the app bundle #245

Merged
merged 11 commits into from
Oct 17, 2023
14 changes: 6 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ R1DIR=$(MOUNT_DIR)/renderer
R2DIR=$(MOUNT_DIR)/renderer2
RVDIR=$(MOUNT_DIR)/renderervk
SDLDIR=$(MOUNT_DIR)/sdl
SDLHDIR=$(MOUNT_DIR)/SDL2
SDLHDIR=$(MOUNT_DIR)/libsdl/include/SDL2

CMDIR=$(MOUNT_DIR)/qcommon
UDIR=$(MOUNT_DIR)/unix
Expand Down Expand Up @@ -426,7 +426,7 @@ ifdef MINGW
CLIENT_LDFLAGS=$(LDFLAGS)

ifeq ($(USE_SDL),1)
BASE_CFLAGS += -DUSE_LOCAL_HEADERS=1 -I$(MOUNT_DIR)/libsdl/windows/include/SDL2
BASE_CFLAGS += -DUSE_LOCAL_HEADERS=1 -I$(SDLHDIR)
#CLIENT_CFLAGS += -DUSE_LOCAL_HEADERS=1
ifeq ($(ARCH),x86)
CLIENT_LDFLAGS += -L$(MOUNT_DIR)/libsdl/windows/mingw/lib32
Expand Down Expand Up @@ -477,6 +477,8 @@ ifeq ($(COMPILE_PLATFORM),darwin)
SHLIBCFLAGS = -fPIC -fvisibility=hidden
SHLIBLDFLAGS = -dynamiclib $(LDFLAGS)

ARCHEXT = .$(ARCH)

LDFLAGS =

ifeq ($(ARCH),x86_64)
Expand All @@ -490,7 +492,7 @@ ifeq ($(COMPILE_PLATFORM),darwin)

ifeq ($(USE_LOCAL_HEADERS),1)
MACLIBSDIR=$(MOUNT_DIR)/libsdl/macosx
BASE_CFLAGS += -I$(SDLHDIR)/include
BASE_CFLAGS += -I$(SDLHDIR)
CLIENT_LDFLAGS += $(MACLIBSDIR)/libSDL2-2.0.0.dylib
CLIENT_EXTRA_FILES += $(MACLIBSDIR)/libSDL2-2.0.0.dylib
else
Expand Down Expand Up @@ -597,7 +599,7 @@ endif # *NIX platforms
endif # !MINGW


TARGET_CLIENT = $(CNAME)$(FULLBINEXT)
TARGET_CLIENT = $(CNAME)$(ARCHEXT)$(BINEXT)

TARGET_REND1 = $(RENDERER_PREFIX)_opengl_$(SHLIBNAME)
TARGET_REND2 = $(RENDERER_PREFIX)_opengl2_$(SHLIBNAME)
Expand Down Expand Up @@ -674,10 +676,6 @@ $(echo_cmd) "WINDRES $<"
$(Q)$(WINDRES) -i $< -o $@
endef

ifndef FULLBINEXT
FULLBINEXT=.$(ARCH)$(BINEXT)
endif

ifndef SHLIBNAME
SHLIBNAME=$(ARCH).$(SHLIBEXT)
endif
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
135 changes: 0 additions & 135 deletions code/libsdl/windows/include/SDL2/SDL.h

This file was deleted.

Loading