IcBench: Makefile visual c++
This commit is contained in:
12
makefile.vs
12
makefile.vs
@ -1,5 +1,5 @@
|
|||||||
# powturbo (c) Copyright 2013-2018
|
# powturbo (c) Copyright 2013-2018
|
||||||
# nmake "NCODEC1=1" "NCODEC2=1" /f makefile.vs
|
# nmake /f makefile.vs
|
||||||
# or
|
# or
|
||||||
# nmake "AVX2=1" /f makefile.vs
|
# nmake "AVX2=1" /f makefile.vs
|
||||||
|
|
||||||
@ -24,20 +24,18 @@ DEFS = $(DEFS) /D__AVX2__
|
|||||||
|
|
||||||
!if "$(NSIMD)" == "1"
|
!if "$(NSIMD)" == "1"
|
||||||
DEFS = $(DEFS) /DNSIMD
|
DEFS = $(DEFS) /DNSIMD
|
||||||
NCODEC1=1
|
|
||||||
NCODEC2=1
|
|
||||||
!else
|
!else
|
||||||
OBJS = $(OBJS) transpose_sse.obj bitpack_sse.obj bitunpack_sse.obj vp4c_sse.obj vp4d_sse.obj
|
OBJS = $(OBJS) transpose_sse.obj bitpack_sse.obj bitunpack_sse.obj vp4c_sse.obj vp4d_sse.obj
|
||||||
DEFS = $(DEFS) /D__SSE2__ /D__SSSE3__
|
DEFS = $(DEFS) /D__SSE2__ /D__SSSE3__
|
||||||
CFLAGS = $(CFLAGS) /DUSE_SSE
|
CFLAGS = $(CFLAGS) /DUSE_SSE
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if "$(NCODEC1)" == "1"
|
!if "$(CODEC1)" == "1"
|
||||||
DEFS = $(DEFS) /DNCODEC1
|
DEFS = $(DEFS) /DCODEC1
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!IF "$(NCODEC2)" == "1"
|
!IF "$(CODEC2)" == "1"
|
||||||
DEFS = $(DEFS) /DNCODEC2
|
DEFS = $(DEFS) /DCODEC2
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!IF "($(BLOSC)" == "1"
|
!IF "($(BLOSC)" == "1"
|
||||||
|
Reference in New Issue
Block a user