2011-04-14 20:37:47 +02:00
|
|
|
LIBDIR = ../../libopenjpip
|
|
|
|
LIBFNAME = $(LIBDIR)/libopenjpip_local.a
|
2011-05-09 20:11:40 +02:00
|
|
|
CFLAGS = -O3 -Wall -I$(LIBDIR)
|
2011-04-14 20:37:47 +02:00
|
|
|
LDFLAGS = -L$(LIBDIR) -lm -lopenjpeg -lopenjpip_local
|
2011-05-10 16:42:00 +02:00
|
|
|
#-lws2_32
|
2011-04-14 20:37:47 +02:00
|
|
|
|
|
|
|
ALL = opj_dec_server
|
|
|
|
|
|
|
|
all: $(ALL)
|
|
|
|
|
2011-07-05 01:00:21 +02:00
|
|
|
opj_dec_server: opj_dec_server.o jp2k_decoder.o imgsock_manager.o jpipstream_manager.o cache_manager.o $(LIBFNAME)
|
|
|
|
$(CC) $(CFLAGS) $< jp2k_decoder.o imgsock_manager.o jpipstream_manager.o cache_manager.o $(LDFLAGS) -o $@
|
2011-04-14 20:37:47 +02:00
|
|
|
clean:
|
|
|
|
rm -f $(ALL) *.o *~
|