Sha256: f6a32b779c2f53083e3853efd98a688c6db74063699e5090d21672ce8a7b8f32
Contents?: true
Size: 513 Bytes
Versions: 44
Compression:
Stored size: 513 Bytes
Contents
CFLAGS = -std=c99 CFLAGS += -g CFLAGS += -Wall CFLAGS += -Wextra CFLAGS += -pedantic CFLAGS += -Werror VFLAGS = --quiet VFLAGS += --tool=memcheck VFLAGS += --leak-check=full VFLAGS += --error-exitcode=1 test: tests.out @./tests.out memcheck: tests.out @valgrind $(VFLAGS) ./tests.out @echo "Memory check passed" clean: rm -rf *.o *.out *.out.dSYM tests.out: test/test_sieve.c src/sieve.c src/sieve.h @echo Compiling $@ @cc $(CFLAGS) src/sieve.c test/vendor/unity.c test/test_sieve.c -o tests.out -lm
Version data entries
44 entries across 44 versions & 1 rubygems