Sha256: e235bdd08dbd90db9850ff0e4d26ae898150db2d26ffc5f9fd3d196510c16e3f
Contents?: true
Size: 537 Bytes
Versions: 2
Compression:
Stored size: 537 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 -f *.o *.out tests.out: test/test_binary_search.c src/binary_search.c src/binary_search.h @echo Compiling $@ @cc $(CFLAGS) src/binary_search.c test/vendor/unity.c test/test_binary_search.c -o tests.out
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trackler-2.2.1.71 | tracks/c/exercises/binary-search/makefile |
trackler-2.2.1.70 | tracks/c/exercises/binary-search/makefile |