From 9f8b7230b969fde154cf06de3ee36fe14636371b Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 30 Oct 2013 18:57:38 +0000 Subject: Use SSE stuff with Clang as for GCC git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2027 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/Makefile') diff --git a/lib/Makefile b/lib/Makefile index 8d9b3175..6512949f 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -84,13 +84,12 @@ extra_staticlib: $(EXTRA_STATICLIB) # type, but request a static library in addition. #---------------------------------------------------------------------------- -# Note that the user may have configured -I options into CPPFLAGS/CFLAGS. -CFLAGS_ALL = $(INCLUDES) -DNDEBUG $(CPPFLAGS) $(CFLAGS) $(CFLAGS_SHLIB) \ - $(CFLAGS_PERSONAL) $(CADD) +$(LIBOBJECTS): CFLAGS_TARGET=$(CFLAGS_SHLIB) + +libpbm3.o: CFLAGS_TARGET+=$(CFLAGS_SSE) $(LIBOBJECTS): %.o: %.c importinc -# We have to get the command all on one line to avoid messy make messages - $(CC) -c $(CFLAGS_ALL) -o $@ $< + $(CC) -c $(INCLUDES) $(CFLAGS_ALL) -o $@ $< MAJ = 11 MIN = $(NETPBM_MINOR_RELEASE) -- cgit 1.4.1