2011-08-26 18:57:34 +02:00
|
|
|
INCDIR = ../../../../libopenjpeg
|
2011-08-28 23:43:57 +02:00
|
|
|
INCDIR2 = ext_libopenjpeg
|
2011-08-26 18:57:34 +02:00
|
|
|
LIBDIR = $(INCDIR)/.libs
|
|
|
|
LIBFNAME = $(LIBDIR)/libopenjpeg.a
|
2011-08-28 23:43:57 +02:00
|
|
|
CFLAGS = -O3 -Wall -I$(INCDIR) -I$(INCDIR2)
|
2011-08-26 18:57:34 +02:00
|
|
|
LDFLAGS = -L$(LIBDIR) -lm
|
2003-11-27 15:55:16 +01:00
|
|
|
|
2011-08-26 18:57:34 +02:00
|
|
|
ALL = j2k_to_idxjp2
|
2003-11-27 15:55:16 +01:00
|
|
|
|
2011-08-26 18:57:34 +02:00
|
|
|
all: $(ALL)
|
2003-11-27 15:55:16 +01:00
|
|
|
|
2011-08-28 23:43:57 +02:00
|
|
|
j2k_to_idxjp2: j2k_to_idxjp2.o event_mgr_handler.o idxjp2_manager.o j2k_decoder.o $(INCDIR2)/cidx_manager.o $(INCDIR2)/cio_ext.o $(INCDIR2)/ext_j2k.o $(INCDIR2)/ext_jp2.o $(INCDIR2)/phix_manager.o $(INCDIR2)/ppix_manager.o $(INCDIR2)/thix_manager.o $(INCDIR2)/tpix_manager.o $(LIBFNAME)
|
|
|
|
$(CC) $(CFLAGS) $< event_mgr_handler.o idxjp2_manager.o j2k_decoder.o $(INCDIR2)/cidx_manager.o $(INCDIR2)/cio_ext.o $(INCDIR2)/ext_j2k.o $(INCDIR2)/ext_jp2.o $(INCDIR2)/phix_manager.o $(INCDIR2)/ppix_manager.o $(INCDIR2)/thix_manager.o $(INCDIR2)/tpix_manager.o $(LDFLAGS) $(LIBFNAME) -o $@
|
2003-11-27 15:55:16 +01:00
|
|
|
clean:
|
2011-08-26 18:57:34 +02:00
|
|
|
rm -f $(ALL) *.o *~
|