about summary refs log tree commit diff
path: root/editor/pamflip
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pamflip')
-rw-r--r--editor/pamflip/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/editor/pamflip/Makefile b/editor/pamflip/Makefile
index 83e961a7..1173fe2b 100644
--- a/editor/pamflip/Makefile
+++ b/editor/pamflip/Makefile
@@ -13,13 +13,15 @@ SUBDIRS =
 
 MERGEBINARIES = pamflip
 
-BINARIES = pamflip
+PORTBINARIES = pamflip
+
+BINARIES = $(PORTBINARIES)
 
 SCRIPTS =
 
-PAMFLIP_OBJECTS = pamflip.o pamflip_sse.o
+ADDL_OBJECTS = pamflip_sse.o
 
-OBJECTS = $(PAMFLIP_OBJECTS)
+OBJECTS = pamflip.o $(ADDL_OBJECTS)
 
 MERGE_OBJECTS = $(OBJECTS:%.o=%.o2)
 
@@ -30,7 +32,4 @@ all: $(BINARIES) $(SUBDIRS:%=%/all)
 
 pamflip_sse.o pamflip_sse.o2: CFLAGS_TARGET = $(CFLAGS_SSE)
 
-pamflip: $(PAMFLIP_OBJECTS) $(NETPBMLIB) $(LIBOPT)
-	$(LD) -o $@ $(PAMFLIP_OBJECTS) \
-	  $(shell $(LIBOPT) $(NETPBMLIB)) \
-	  $(MATHLIB) $(LDFLAGS) $(LDLIBS) $(RPATH) $(LADD)
+pamflip:%:%.o $(ADDL_OBJECTS)