diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2013-10-30 18:57:38 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2013-10-30 18:57:38 +0000 |
commit | 9f8b7230b969fde154cf06de3ee36fe14636371b (patch) | |
tree | f1c74fed6644663218ea987c4bd4104100a13ec4 /lib/Makefile | |
parent | 6229105f5ce31e34b08dc656a71a919f313a11d7 (diff) | |
download | netpbm-mirror-9f8b7230b969fde154cf06de3ee36fe14636371b.tar.gz netpbm-mirror-9f8b7230b969fde154cf06de3ee36fe14636371b.tar.xz netpbm-mirror-9f8b7230b969fde154cf06de3ee36fe14636371b.zip |
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
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
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) |