about summary refs log tree commit diff
path: root/converter/other/cameratopam/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/cameratopam/Makefile')
-rw-r--r--converter/other/cameratopam/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/converter/other/cameratopam/Makefile b/converter/other/cameratopam/Makefile
index 11ca4e1d..4470d472 100644
--- a/converter/other/cameratopam/Makefile
+++ b/converter/other/cameratopam/Makefile
@@ -19,20 +19,22 @@ include $(BUILDDIR)/config.mk
 .PHONY: all
 all: cameratopam
 
-ADDL_OBJECTS = util.o identify.o camera.o foveon.o decode.o \
+OBJECTS = util.o identify.o cameratopam.o camera.o foveon.o decode.o \
 	canon.o ljpeg.o dng.o
 
-OBJECTS = cameratopam.o $(ADDL_OBJECTS)
-
 camera.o camera.o2: CFLAGS_TARGET = $(HAVE_JPEG_DEFINE)
 
 MERGE_OBJECTS =
 
-PORTBINARIES = cameratopam
-BINARIES = $(PORTBINARIES)
+BINARIES = cameratopam
 MERGEBINARIES = 
 SCRIPTS = 
 
 include $(SRCDIR)/common.mk
 
-cameratopam: $(ADDL_OBJECTS)
+cameratopam: $(OBJECTS) $(NETPBMLIB) $(LIBOPT)
+	$(LD) -o $@ \
+          $(OBJECTS) $(shell $(LIBOPT) $(NETPBMLIB) $(LIBOPTR)) \
+	  $(MATHLIB) $(LDFLAGS) $(LDLIBS) \
+	  $(RPATH) $(LADD)
+