aboutsummaryrefslogtreecommitdiff
path: root/lib/libsquish
diff options
context:
space:
mode:
authorS. Davilla <davilla@4pi.com>2011-04-24 13:37:15 -0400
committerS. Davilla <davilla@4pi.com>2011-04-30 14:31:28 -0400
commitdda67605581783e49b8581e5e11a9d0debc71c60 (patch)
tree1095ae70098ca57410f8de9fe96b3f3ee01388ca /lib/libsquish
parentbe61ad9b9863253e907addf742a87455b5cd7df9 (diff)
clean up libsquish makefile
Diffstat (limited to 'lib/libsquish')
-rw-r--r--lib/libsquish/Makefile.in23
1 files changed, 15 insertions, 8 deletions
diff --git a/lib/libsquish/Makefile.in b/lib/libsquish/Makefile.in
index 60a6b2ecbb..2f15a207e2 100644
--- a/lib/libsquish/Makefile.in
+++ b/lib/libsquish/Makefile.in
@@ -1,16 +1,23 @@
ARCH=@ARCH@
-SRCS=alpha.cpp clusterfit.cpp colourblock.cpp colourfit.cpp colourset.cpp maths.cpp rangefit.cpp singlecolourfit.cpp squish.cpp
+SRCS= \
+ alpha.cpp \
+ clusterfit.cpp \
+ colourblock.cpp \
+ colourfit.cpp \
+ colourset.cpp \
+ maths.cpp \
+ rangefit.cpp \
+ singlecolourfit.cpp \
+ squish.cpp
-ifeq ($(findstring powerpc,$(ARCH)),powerpc)
-CXXFLAGS+=-I. -DSQUISH_USE_ALTIVEC=1 -maltivec
-else
-ifeq ($(findstring arm,$(ARCH)), arm)
CXXFLAGS+=-I.
-else
-CXXFLAGS+=-I. -DSQUISH_USE_SSE=2 -msse2
-endif
+ifeq ($(findstring powerpc,$(ARCH)),powerpc)
+ CXXFLAGS+=-DSQUISH_USE_ALTIVEC=1 -maltivec
+else ifeq ($(findstring x86,$(ARCH)), x86)
+ CXXFLAGS+=-DSQUISH_USE_SSE=2 -msse2
endif
+
LIB=libsquish.a
include ../../Makefile.include