From b8a39a1b26745029540fce48146e7f75a3a5e798 Mon Sep 17 00:00:00 2001 From: Dmitry Babokin Date: Wed, 13 Nov 2013 16:34:10 +0400 Subject: [PATCH] minor improvements in examples/common.mk --- examples/common.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/common.mk b/examples/common.mk index 0f375f29..6541fa05 100644 --- a/examples/common.mk +++ b/examples/common.mk @@ -20,19 +20,19 @@ ifeq ($(ARCH),x86) COMMA=, ifneq (,$(findstring $(COMMA),$(ISPC_IA_TARGETS))) #$(info multi-target detected: $(ISPC_IA_TARGETS)) - ifneq (,$(findstring sse2-,$(ISPC_IA_TARGETS))) + ifneq (,$(findstring sse2,$(ISPC_IA_TARGETS))) ISPC_OBJS+=$(addprefix objs/, $(ISPC_SRC:.ispc=)_ispc_sse2.o) endif - ifneq (,$(findstring sse4-,$(ISPC_IA_TARGETS))) + ifneq (,$(findstring sse4,$(ISPC_IA_TARGETS))) ISPC_OBJS+=$(addprefix objs/, $(ISPC_SRC:.ispc=)_ispc_sse4.o) endif ifneq (,$(findstring avx1-,$(ISPC_IA_TARGETS))) ISPC_OBJS+=$(addprefix objs/, $(ISPC_SRC:.ispc=)_ispc_avx.o) endif - ifneq (,$(findstring avx1.1-,$(ISPC_IA_TARGETS))) + ifneq (,$(findstring avx1.1,$(ISPC_IA_TARGETS))) ISPC_OBJS+=$(addprefix objs/, $(ISPC_SRC:.ispc=)_ispc_avx11.o) endif - ifneq (,$(findstring avx2-,$(ISPC_IA_TARGETS))) + ifneq (,$(findstring avx2,$(ISPC_IA_TARGETS))) ISPC_OBJS+=$(addprefix objs/, $(ISPC_SRC:.ispc=)_ispc_avx2.o) endif endif