mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Don't build the vk renderer when WITH_REFVK is no.
This is the third or forth try, already. *grrr* WITH_REFVK isn't enough, as long as the target is there. Wrap the whole target in an if-block.
This commit is contained in:
parent
18a9827b74
commit
2a18f02186
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -677,6 +677,7 @@ build/ref_soft/%.o: %.c
|
|||
# ----------
|
||||
|
||||
# The vk renderer lib
|
||||
ifeq ($(WITH_REFVK),yes)
|
||||
ifeq ($(YQ2_OSTYPE), Windows)
|
||||
ref_vk:
|
||||
@echo "===> Building ref_vk.dll"
|
||||
|
@ -696,6 +697,7 @@ build/ref_vk/%.o: %.c
|
|||
@echo "===> CC $<"
|
||||
${Q}mkdir -p $(@D)
|
||||
${Q}$(CC) -c $(CFLAGS) $(SDLCFLAGS) $(INCLUDE) -o $@ $<
|
||||
endif # WITH_REFVK
|
||||
|
||||
# ----------
|
||||
|
||||
|
|
Loading…
Reference in a new issue