mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Make shaders compile dx9 and dx11 only on windows (nw)
This commit is contained in:
parent
5d68226967
commit
b80710c868
@ -14,16 +14,20 @@ endif
|
||||
|
||||
$(SUBDIRS):
|
||||
@echo $@
|
||||
ifeq ($(OS),windows)
|
||||
@make -s --no-print-directory TARGET=0 SHADERS_DIR=$@/ clean all
|
||||
@make -s --no-print-directory TARGET=1 SHADERS_DIR=$@/ clean all
|
||||
endif
|
||||
@make -s --no-print-directory TARGET=2 SHADERS_DIR=$@/ clean all
|
||||
@make -s --no-print-directory TARGET=3 SHADERS_DIR=$@/ clean all
|
||||
@make -s --no-print-directory TARGET=4 SHADERS_DIR=$@/ clean all
|
||||
@make -s --no-print-directory TARGET=5 SHADERS_DIR=$@/ clean all
|
||||
|
||||
main:
|
||||
ifeq ($(OS),windows)
|
||||
@make -s --no-print-directory TARGET=0 clean all
|
||||
@make -s --no-print-directory TARGET=1 clean all
|
||||
endif
|
||||
@make -s --no-print-directory TARGET=2 clean all
|
||||
@make -s --no-print-directory TARGET=3 clean all
|
||||
@make -s --no-print-directory TARGET=4 clean all
|
||||
|
@ -85,9 +85,9 @@ endif
|
||||
endif
|
||||
|
||||
THISDIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
VS_FLAGS+=-i $(THISDIR)../src/;$(THISDIR)../examples/common/
|
||||
FS_FLAGS+=-i $(THISDIR)../src/;$(THISDIR)../examples/common/
|
||||
CS_FLAGS+=-i $(THISDIR)../src/$(THISDIR)../examples/common/
|
||||
VS_FLAGS+=-i "$(THISDIR)../src/;$(THISDIR)../examples/common/"
|
||||
FS_FLAGS+=-i "$(THISDIR)../src/;$(THISDIR)../examples/common/"
|
||||
CS_FLAGS+=-i "$(THISDIR)../src/;$(THISDIR)../examples/common/"
|
||||
|
||||
BUILD_OUTPUT_DIR=$(addprefix ./, $(RUNTIME_DIR)/$(SHADER_PATH))
|
||||
BUILD_INTERMEDIATE_DIR=$(addprefix $(BUILD_DIR)/, $(SHADER_PATH))
|
||||
|
Loading…
Reference in New Issue
Block a user