JD2022-TU1/main/extern/squish/config

22 lines
406 B
Text

# config file used for the Makefile only
# define to 1 to use Altivec instructions
USE_ALTIVEC ?= 0
# define to 1 to use SSE2 instructions
USE_SSE ?= 0
# default flags
CXXFLAGS ?= -O2
ifeq ($(USE_ALTIVEC),1)
CPPFLAGS += -DSQUISH_USE_ALTIVEC=1
CXXFLAGS += -maltivec
endif
ifeq ($(USE_SSE),1)
CPPFLAGS += -DSQUISH_USE_SSE=2
CXXFLAGS += -msse
endif
# where should we install to
INSTALL_DIR ?= /usr/local