mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 08:45:59 +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}
|
||||
$(call colorecho,CC,$@)
|
||||
@mkdir -p ${BUILDDIR_DEBUG}/${BINDIR}
|
||||
$(QUIET)${CC} ${SFLAGS} ${LDFLAGS} \
|
||||
-o ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT} ${OBJECTS} ${LIBS}
|
||||
$(QUIET)${CC} ${LDFLAGS} \
|
||||
-o ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT} ${OBJECTS_DEBUG} ${LIBS}
|
||||
|
||||
debug: ${BUILDDIR_DEBUG}/${BINDIR}/${PROJECT}
|
||||
|
||||
|
@ -166,8 +166,8 @@ ${BUILDDIR_GCOV}/%.o: %.c
|
|||
${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}: ${OBJECTS_GCOV}
|
||||
$(call colorecho,CC,$@)
|
||||
@mkdir -p ${BUILDDIR_GCOV}/${BINDIR}
|
||||
$(QUIET)${CC} ${SFLAGS} ${LDFLAGS} ${GCOV_CFLAGS} ${GCOV_LDFLAGS} \
|
||||
-o ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT} ${OBJECTS} ${LIBS}
|
||||
$(QUIET)${CC} ${LDFLAGS} ${GCOV_CFLAGS} ${GCOV_LDFLAGS} \
|
||||
-o ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT} ${OBJECTS_GCOv} ${LIBS}
|
||||
|
||||
gcov: options ${BUILDDIR_GCOV}/${BINDIR}/${PROJECT}
|
||||
$(QUIET)${MAKE} -C tests run-gcov
|
||||
|
|
Loading…
Reference in a new issue