Author: stepan Date: 2006-10-14 22:18:07 +0200 (Sat, 14 Oct 2006) New Revision: 89
Modified: fcode-utils/toke/Makefile Log: add coverage examples to Makefile
Modified: fcode-utils/toke/Makefile =================================================================== --- fcode-utils/toke/Makefile 2006-10-14 20:17:30 UTC (rev 88) +++ fcode-utils/toke/Makefile 2006-10-14 20:18:07 UTC (rev 89) @@ -27,10 +27,16 @@ CC = gcc STRIP = strip INCLUDES = -I../shared + +# No coverage: #CFLAGS = -O2 -g -Wall CFLAGS = -Os -Wall -Wno-pointer-sign -DSYS_IS_GNU_Linux -LDFLAGS = +LDFLAGS =
+# Coverage: +#CFLAGS = -O2 -fprofile-arcs -ftest-coverage -Wall -Wno-pointer-sign -DSYS_IS_GNU_Linux +#LDFLAGS = -lgcov + OBJS = clflags.o conditl.o devnode.o dictionary.o emit.o errhandler.o \ flowcontrol.o macros.o nextfcode.o parselocals.o scanner.o stack.o \ stream.o strsubvocab.o ticvocab.o toke.o tokzesc.o tracesyms.o \