2011-08-27 14:53:38 +02:00
|
|
|
INCDIR = ../../../../libopenjpeg
|
|
|
|
LIBDIR = $(INCDIR)/.libs
|
|
|
|
LIBFNAME = $(LIBDIR)/libopenjpeg.a
|
|
|
|
CFLAGS = -O3 -Wall -I$(INCDIR)
|
|
|
|
LDFLAGS = -L$(LIBDIR) -lm
|
2003-11-27 15:55:16 +01:00
|
|
|
|
2011-08-27 14:53:38 +02:00
|
|
|
ALL = j2k_to_idxjp2
|
2003-11-27 15:55:16 +01:00
|
|
|
|
2011-08-27 14:53:38 +02:00
|
|
|
all: $(ALL)
|
2003-11-27 15:55:16 +01:00
|
|
|
|
2011-08-27 14:53:38 +02:00
|
|
|
j2k_to_idxjp2: j2k_to_idxjp2.o event_mgr_handler.o idxjp2_manager.o j2k_decoder.o cidx_manager.o cio_ext.o tpix_manager.o thix_manager.o ppix_manager.o phix_manager.o $(LIBFNAME)
|
|
|
|
$(CC) $(CFLAGS) $< event_mgr_handler.o idxjp2_manager.o j2k_decoder.o cidx_manager.o cio_ext.o tpix_manager.o thix_manager.o ppix_manager.o phix_manager.o $(LDFLAGS) $(LIBFNAME) -o $@
|
2003-11-27 15:55:16 +01:00
|
|
|
clean:
|
2011-08-27 14:53:38 +02:00
|
|
|
rm -f $(ALL) *.o *~
|