OUT = pbimageviewer

include /usr/local/pocketbook/common.mk

# Need the following for libunrar dll.h
CXXFLAGS += -D_UNIX

LIBS += -Wl,-dn -lzip -lunrar -l7zip -Wl,-dy -libitmap -ltiff
ifeq ($(BUILD), arm)
LIBS += -lpng
endif
ifeq ($(BUILD), arm_fwv5)
LIBS += -ljpeg -lpng -lz -ldl
endif
ifeq ($(BUILD), arm_fwv5_dbg)
LIBS += -ljpeg -lpng -lz -ldl
endif
