15 lines
458 B
Makefile
15 lines
458 B
Makefile
LIBDIR = ../../libopenjpip
|
|
LIBFNAME = $(LIBDIR)/libopenjpip_local.a
|
|
CFLAGS = -O3 -Wall -std=c99 -pedantic -I$(LIBDIR)
|
|
LDFLAGS = -L$(LIBDIR) -lm -lopenjpeg -lopenjpip_local
|
|
|
|
|
|
ALL = opj_dec_server
|
|
|
|
all: $(ALL)
|
|
|
|
opj_dec_server: opj_dec_server.o jp2k_decoder.o imgsock_manager.o jptstream_manager.o cache_manager.o $(LIBFNAME)
|
|
$(CC) $(CFLAGS) $< jp2k_decoder.o imgsock_manager.o jptstream_manager.o cache_manager.o $(LDFLAGS) -o $@
|
|
clean:
|
|
rm -f $(ALL) *.o *~
|