openjpeg/applications/jpip/libopenjpip/comMakefile.mk

18 lines
532 B
Makefile

ifdef jpipserver
CFLAGS = -O3 -Wall -std=c99 -pedantic -m32 -DSERVER
LIBNAME = libopenjpip_server.a
else
CFLAGS = -O3 -Wall -std=c99 -pedantic
LIBNAME = libopenjpip_local.a
endif
all: $(LIBNAME)
$(LIBNAME): target_manager.o byte_manager.o box_manager.o boxheader_manager.o manfbox_manager.o \
mhixbox_manager.o marker_manager.o codestream_manager.o faixbox_manager.o index_manager.o \
msgqueue_manager.o metadata_manager.o placeholder_manager.o ihdrbox_manager.o imgreg_manager.o
ar r $@ $^
clean:
rm -f $(LIBNAME) *.o *~