Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
a9d3d390
Commit
a9d3d390
authored
Jun 30, 2014
by
Sebastian Ramacher
Browse files
Also use system synctex in tests if possible
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
5a858846
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/Makefile
View file @
a9d3d390
...
...
@@ -8,7 +8,7 @@ PROJECT = tests
SOURCE
=
tests.c
$(
wildcard
test_
*
.c
)
OBJECTS
=
${SOURCE:.c=.o}
ZOSOURCE
=
$(
filter-out
../main.c,
$(
wildcard
../
*
.c
)
$(
wildcard
../synctex/
*
.c
)
)
ZOSOURCE
=
$(
filter-out
../main.c,
$(
wildcard
../
*
.c
))
ifneq
(${WITH_SQLITE},0)
INCS
+=
$(SQLITE_INC)
...
...
@@ -27,6 +27,27 @@ LIBS += $(MAGIC_LIB)
CPPFLAGS
+=
-DWITH_MAGIC
endif
ifneq
($(WITH_SYSTEM_SYNCTEX),0)
INCS
+=
$(SYNCTEX_INC)
LIBS
+=
$(SYNCTEX_LIB)
else
INCS
+=
$(ZLIB_INC)
LIBS
+=
$(ZLIB_LIB)
ZSOURCE
+=
$(
wildcard
../synctex/
*
.c
)
CPPFLAGS
+=
-I
../synctex
ifeq
(,$(findstring -DSYNCTEX_VERBOSE=0,${CPPFLAGS}))
CPPFLAGS
+=
-DSYNCTEX_VERBOSE
=
0
endif
endif
ifeq
(,$(findstring -Isynctex,${CPPFLAGS}))
CPPFLAGS
+=
-Isynctex
endif
ifeq
(,$(findstring -DSYNCTEX_VERBOSE=0,${CPPFLAGS}))
CPPFLAGS
+=
-DSYNCTEX_VERBOSE
=
0
endif
ZOBJECTS
=
${ZSOURCE:.c=.o}
all
:
${PROJECT}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment