summaryrefslogtreecommitdiff
path: root/JavaOpenJPEG/Makefile
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-12-10 13:16:01 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-12-10 13:16:01 +0000
commit26606c71c8a5c3a79f9e371e1c0ddfcb800b77df (patch)
treea44d6c989e1e143b8420b737b0aa46745bcdca34 /JavaOpenJPEG/Makefile
parente06bcd027f860f2d62c5419dab14a975eecae7c9 (diff)
First import of JAVAOpenJPEG, a Java wrapper of OpenJPEG, developed by Patrick Piscaglia of Telemis (www.telemis.com). Thank you Patrick for this new module !
Diffstat (limited to 'JavaOpenJPEG/Makefile')
-rw-r--r--JavaOpenJPEG/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/JavaOpenJPEG/Makefile b/JavaOpenJPEG/Makefile
new file mode 100644
index 00000000..f38ff762
--- /dev/null
+++ b/JavaOpenJPEG/Makefile
@@ -0,0 +1,14 @@
+# Makefile for the main OpenJPEG codecs: j2k_to_image and image_to_j2k
+
+CFLAGS = -O3 -lstdc++ # -g -p -pg
+
+all: j2k_to_image image_to_j2k
+
+j2k_to_image: j2k_to_image.c ../libopenjpeg.a
+ gcc $(CFLAGS) compat/getopt.c convert.c j2k_to_image.c -o j2k_to_image -L.. -lopenjpeg -I ../libopenjpeg/ -lm -ltiff
+
+image_to_j2k: image_to_j2k.c ../libopenjpeg.a
+ gcc $(CFLAGS) compat/getopt.c convert.c image_to_j2k.c -o image_to_j2k -L.. -lopenjpeg -I ../libopenjpeg/ -lm -ltiff
+
+clean:
+ rm -f j2k_to_image image_to_j2k