19 lines
552 B
Makefile
19 lines
552 B
Makefile
ifdef jpipserver
|
|
CFLAGS = -O3 -Wall -m32 -DSERVER
|
|
LIBNAME = libopenjpip_server.a
|
|
else
|
|
CFLAGS = -O3 -Wall
|
|
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 \
|
|
cachemodel_manager.o j2kheader_manager.o jp2k_encoder.o
|
|
ar r $@ $^
|
|
|
|
clean:
|
|
rm -f $(LIBNAME) *.o *~
|