mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 07:26:01 +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))
|
ZSOURCE = $(filter-out ../database-sqlite.c,$(ZOSOURCE))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(WITH_MAGIC),0)
|
||||||
|
INCS += $(MAGIC_INC)
|
||||||
|
LIBS += $(MAGIC_LIB)
|
||||||
|
CPPFLAGS += -DWITH_MAGIC
|
||||||
|
endif
|
||||||
|
|
||||||
ZOBJECTS = ${ZSOURCE:.c=.o}
|
ZOBJECTS = ${ZSOURCE:.c=.o}
|
||||||
|
|
||||||
all: ${PROJECT}
|
all: ${PROJECT}
|
||||||
|
|
Loading…
Reference in a new issue