2007-12-10 14:16:01 +01:00
|
|
|
# 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
|
2011-09-01 13:24:08 +02:00
|
|
|
gcc $(CFLAGS) ../common/opj_getopt.c convert.c j2k_to_image.c -o j2k_to_image -L.. -lopenjpeg -I ../libopenjpeg/ -lm -ltiff
|
2007-12-10 14:16:01 +01:00
|
|
|
|
|
|
|
image_to_j2k: image_to_j2k.c ../libopenjpeg.a
|
2011-09-01 13:24:08 +02:00
|
|
|
gcc $(CFLAGS) ../common/opj_getopt.c convert.c image_to_j2k.c -o image_to_j2k -L.. -lopenjpeg -I ../libopenjpeg/ -lm -ltiff
|
2007-12-10 14:16:01 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f j2k_to_image image_to_j2k
|