about summary refs log tree commit diff
path: root/editor/pamflip/Makefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-05-18 02:37:18 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2010-05-18 02:37:18 +0000
commit60a0d64307394bad62684c32bbccf89552d15090 (patch)
treeba89fd811ea731b9a0cc0e64ff4fe9c05e92f0b2 /editor/pamflip/Makefile
parent559136d4679d53037e4b74dd3f833b2ea89ccc05 (diff)
downloadnetpbm-mirror-60a0d64307394bad62684c32bbccf89552d15090.tar.gz
netpbm-mirror-60a0d64307394bad62684c32bbccf89552d15090.tar.xz
netpbm-mirror-60a0d64307394bad62684c32bbccf89552d15090.zip
Pamflip PBM speedup with SSE et al
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1214 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pamflip/Makefile')
-rw-r--r--editor/pamflip/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/editor/pamflip/Makefile b/editor/pamflip/Makefile
new file mode 100644
index 00000000..497c5379
--- /dev/null
+++ b/editor/pamflip/Makefile
@@ -0,0 +1,32 @@
+ifeq ($(SRCDIR)x,x)
+  SRCDIR = $(CURDIR)/../..
+  BUILDDIR = $(SRCDIR)
+endif
+SUBDIR = editor/pamflip
+VPATH=.:$(SRCDIR)/$(SUBDIR)
+
+include $(BUILDDIR)/config.mk
+
+SUBDIRS =
+
+MERGEBINARIES = pamflip
+
+BINARIES = pamflip
+
+SCRIPTS =
+
+PAMFLIP_OBJECTS = pamflip.o pamflip_sse.o
+
+OBJECTS = $(PAMFLIP_OBJECTS)
+
+MERGE_OBJECTS = $(OBJECTS:%.o=%.o2)
+
+.PHONY: all
+all: $(BINARIES) $(SUBDIRS:%=%/all)
+
+include $(SRCDIR)/common.mk
+
+pamflip: $(PAMFLIP_OBJECTS) $(NETPBMLIB) $(LIBOPT)
+	$(LD) -o $@ $(PAMFLIP_OBJECTS) \
+	  $(shell $(LIBOPT) $(NETPBMLIB)) \
+	  $(MATHLIB) $(LDFLAGS) $(LDLIBS) $(RPATH) $(LADD)