Sha256: 16f48b0a3fb2f3246aa19680984fbab5103c25bc9ff6c8a03f93eec16bae19e7
Contents?: true
Size: 556 Bytes
Versions: 63
Compression:
Stored size: 556 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_prime_factors.c src/prime_factors.c src/prime_factors.h @echo Compiling $@ @$(CC) $(CFLAGS) src/prime_factors.c test/vendor/unity.c test/test_prime_factors.c -o tests.out -lm
Version data entries
63 entries across 63 versions & 1 rubygems