1# config file used for the Makefile only
2
3# define to 1 to use Altivec instructions
4USE_ALTIVEC ?= 0
5
6# define to 1 to use SSE2 instructions
7USE_SSE ?= 0
8
9# default flags
10CXXFLAGS ?= -O2
11ifeq ($(USE_ALTIVEC),1)
12CPPFLAGS += -DSQUISH_USE_ALTIVEC=1
13CXXFLAGS += -maltivec
14endif
15ifeq ($(USE_SSE),1)
16CPPFLAGS += -DSQUISH_USE_SSE=2
17CXXFLAGS += -msse
18endif
19
20# where should we install to
21INSTALL_DIR ?= /usr/local
22
23