Skip to content

Commit

Permalink
fix cover in Makefile.in
Browse files Browse the repository at this point in the history
  • Loading branch information
Vollstrecker committed Dec 24, 2024
1 parent c663df1 commit 82d59a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ test64: all64
@rm -f tmp64_$$

infcover.o: $(SRCDIR)test/infcover.c $(SRCDIR)zlib.h zconf.h
$(CC) $(CFLAGS) $(ZINCOUT) -c -o $@ $(SRCDIR)test/infcover.c
$(CC) $(CFLAGS) $(ZINCOUT) -c -coverage -o $@ $(SRCDIR)test/infcover.c

infcover: infcover.o libz.a
$(CC) $(CFLAGS) -o $@ infcover.o libz.a
$(CC) $(CFLAGS) -coverage -o $@ infcover.o libz.a

cover: infcover
rm -f *.gcda
${QEMU_RUN} ./infcover
gcov inf*.c
gcov inf*.c -o ./infcover.gcda

libz.a: $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
Expand Down

0 comments on commit 82d59a4

Please sign in to comment.