Add header dependencies for the Vulkan renderer.

While here load the software renderer header dependencies. No one ever
complained about that... -_- And fix a long standing typo.
This commit is contained in:
Yamagi 2020-01-25 16:53:35 +01:00
parent 9801db5c5c
commit d291e0bbc5

View file

@ -1057,18 +1057,20 @@ GAME_OBJS = $(patsubst %,build/baseq2/%,$(GAME_OBJS_))
# Generate header dependencies.
CLIENT_DEPS= $(CLIENT_OBJS:.o=.d)
GAME_DEPS= $(GAME_OBJS:.o=.d)
REFGL1_DEPS= $(REFGL1_OBJS:.o=.d)
REFGL3_DEPS= $(REFGL3_OBJS:.o=.d)
REFSOFT_DEPS= $(REFSOFT_OBJS:.o=.d)
REFVK_DEPS= $(REFVK_OBJS:.o=.d)
SERVER_DEPS= $(SERVER_OBJS:.o=.d)
GAME_DEPS= $(GAME_OBJS:.o=.d)
# Suck header dependencies in.
-include $(CLIENT_DEPS)
-include $(GAME_DEPS)
-include $(REFGL1_DEPS)
-include $(REFGL3_DEPS)
-include $(REFVK_DEPS)
-include $(SERVER_DEPS)
-include $(GAME_DEPS)
# ----------
@ -1090,7 +1092,7 @@ endif
# release/q2ded
ifeq ($(YQ2_OSTYPE), Windows)
release/q2ded.exe : $(SERVER_OBJS) icon
@echo "===> LD $@.exe"
@echo "===> LD $@"
${Q}$(CC) build/icon/icon.res $(SERVER_OBJS) $(LDFLAGS) $(SDLLDFLAGS) -o $@
$(Q)strip $@
else