updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / libsquish / config
blobc843c8cf02ba1d48c5ad6f90972928f326131186
1 # config file used for the Makefile only
3 # define to 1 to use Altivec instructions
4 USE_ALTIVEC ?= 0
6 # define to 1 to use SSE2 instructions
7 USE_SSE ?= 0
9 # default flags
10 CXXFLAGS = -O2 -fPIC
11 ifeq ($(USE_ALTIVEC),1)
12 CPPFLAGS += -DSQUISH_USE_ALTIVEC=1
13 CXXFLAGS += -maltivec
14 endif
15 ifeq ($(USE_SSE),1)
16 CPPFLAGS += -DSQUISH_USE_SSE=2
17 CXXFLAGS += -msse
18 endif
20 # where should we install to
21 INSTALL_DIR ?= /usr/local