summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-02-28 13:56:06 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-02-28 13:56:06 +0000
commit2fb6da8d857e51da4dd3d55eb891a5af71dff316 (patch)
treeacd7f09a7133294a91616aec9b68c544bf1dcd1c
parentfd680a1cf0695829d12fa775d348655e67b43582 (diff)
Corrected codec Makefile by adding the compilation of "compat/getopt.c"
-rw-r--r--ChangeLog3
-rw-r--r--codec/Makefile4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e6d77997..cedd4779 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed
+ : added
+February 28, 2007
+* [Fod] Corrected codec Makefile by adding the compilation of "compat/getopt.c"
+
February 27, 2007
* [Parvatha] Made get_file_format function more robust. Modifications in image_to_j2k.c, j2k_to_image.c, getopt.c, getopt.h
diff --git a/codec/Makefile b/codec/Makefile
index a10185e1..c0e5c483 100644
--- a/codec/Makefile
+++ b/codec/Makefile
@@ -5,10 +5,10 @@ CFLAGS = -O3 -lstdc++ # -g -p -pg
all: j2k_to_image image_to_j2k
j2k_to_image: j2k_to_image.c ../libopenjpeg.a
- gcc $(CFLAGS) convert.c j2k_to_image.c -o j2k_to_image -L.. -lopenjpeg -I ../libopenjpeg/ -lm
+ gcc $(CFLAGS) compat/getopt.c convert.c j2k_to_image.c -o j2k_to_image -L.. -lopenjpeg -I ../libopenjpeg/ -lm
image_to_j2k: image_to_j2k.c ../libopenjpeg.a
- gcc $(CFLAGS) convert.c image_to_j2k.c -o image_to_j2k -L.. -lopenjpeg -I ../libopenjpeg/ -lm
+ gcc $(CFLAGS) compat/getopt.c convert.c image_to_j2k.c -o image_to_j2k -L.. -lopenjpeg -I ../libopenjpeg/ -lm
clean:
rm -f j2k_to_image image_to_j2k