mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 16:56:01 +01:00
Fix build debug and gcov targets
This commit is contained in:
parent
df915d2227
commit
13274b948b
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -143,8 +143,8 @@ ${BUILDDIR_DEBUG}/%.o: %.c
|
||||||
${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}: ${OBJECTS_DEBUG}
|
${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}: ${OBJECTS_DEBUG}
|
||||||
$(call colorecho,CC,$@)
|
$(call colorecho,CC,$@)
|
||||||
@mkdir -p ${BUILDDIR_DEBUG}/${BINDIR}
|
@mkdir -p ${BUILDDIR_DEBUG}/${BINDIR}
|
||||||
$(QUIET)${CC} ${SFLAGS} ${LDFLAGS} \
|
$(QUIET)${CC} ${LDFLAGS} \
|
||||||
-o ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT} ${OBJECTS} ${LIBS}
|
-o ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT} ${OBJECTS_DEBUG} ${LIBS}
|
||||||
|
|
||||||
debug: ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
|
debug: ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
|
||||||
|
|
||||||
|
@ -166,8 +166,8 @@ ${BUILDDIR_GCOV}/%.o: %.c
|
||||||
${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}: ${OBJECTS_GCOV}
|
${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}: ${OBJECTS_GCOV}
|
||||||
$(call colorecho,CC,$@)
|
$(call colorecho,CC,$@)
|
||||||
@mkdir -p ${BUILDDIR_GCOV}/${BINDIR}
|
@mkdir -p ${BUILDDIR_GCOV}/${BINDIR}
|
||||||
$(QUIET)${CC} ${SFLAGS} ${LDFLAGS} ${GCOV_CFLAGS} ${GCOV_LDFLAGS} \
|
$(QUIET)${CC} ${LDFLAGS} ${GCOV_CFLAGS} ${GCOV_LDFLAGS} \
|
||||||
-o ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT} ${OBJECTS} ${LIBS}
|
-o ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT} ${OBJECTS_GCOv} ${LIBS}
|
||||||
|
|
||||||
gcov: options ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
|
gcov: options ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
|
||||||
$(QUIET)${MAKE} -C tests run-gcov
|
$(QUIET)${MAKE} -C tests run-gcov
|
||||||
|
|
Loading…
Reference in a new issue