summaryrefslogtreecommitdiff
path: root/applications/JavaOpenJPEG/Makefile
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2011-04-13 21:01:39 +0000
committerAntonin Descampe <antonin@gmail.com>2011-04-13 21:01:39 +0000
commit16f205d886407d087fbaa5d00ff31e371f97cb51 (patch)
treec711b3f7a6ade13311cd10a2d2ec6cb0ea1b7a4f /applications/JavaOpenJPEG/Makefile
parent87e4c72ee4be8eb4899cfab25359440a9ecacafa (diff)
re-organization of openjpeg directories hierarchy : step 1
Diffstat (limited to 'applications/JavaOpenJPEG/Makefile')
-rw-r--r--applications/JavaOpenJPEG/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/applications/JavaOpenJPEG/Makefile b/applications/JavaOpenJPEG/Makefile
new file mode 100644
index 00000000..9ac3e407
--- /dev/null
+++ b/applications/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) ../common/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) ../common/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