mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 07:35:59 +01:00
Build tests with magic if WITH_MAGIC != 0
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
0a92abe720
commit
9134040300
1 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,12 @@ else
|
|||
ZSOURCE = $(filter-out ../database-sqlite.c,$(ZOSOURCE))
|
||||
endif
|
||||
|
||||
ifneq ($(WITH_MAGIC),0)
|
||||
INCS += $(MAGIC_INC)
|
||||
LIBS += $(MAGIC_LIB)
|
||||
CPPFLAGS += -DWITH_MAGIC
|
||||
endif
|
||||
|
||||
ZOBJECTS = ${ZSOURCE:.c=.o}
|
||||
|
||||
all: ${PROJECT}
|
||||
|
|
Loading…
Reference in a new issue