2011-08-26 13:50:50 +02:00
|
|
|
J2KINCDIR = ../../../../libopenjpeg
|
|
|
|
J2KLIBDIR = $(J2KINCDIR)/.libs
|
|
|
|
JPIPLIBDIR = ../../libopenjpip
|
|
|
|
LIBFNAME = $(JPIPLIBDIR)/libopenjpip_local.a $(J2KLIBDIR)/libopenjpeg.a
|
2011-10-20 01:29:57 +02:00
|
|
|
CFLAGS = -O3 -Wall -I$(JPIPLIBDIR)
|
2011-08-26 13:50:50 +02:00
|
|
|
LDFLAGS = -L$(JPIPLIBDIR) -L$(J2KLIBDIR) -lm -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-10-20 01:29:57 +02:00
|
|
|
opj_dec_server: opj_dec_server.o $(LIBFNAME)
|
|
|
|
$(CC) $(CFLAGS) $< $(LDFLAGS) $(LIBFNAME) -o $@
|
2011-10-18 14:38:31 +02:00
|
|
|
|
2011-04-14 20:37:47 +02:00
|
|
|
clean:
|
|
|
|
rm -f $(ALL) *.o *~
|