Sha256: 17ae97db5b88289cbd187952fac40493821e78af74bd9d20f659da3fcde7dd13

Contents?: true

Size: 549 Bytes

Versions: 44

Compression:

Stored size: 549 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_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

44 entries across 44 versions & 1 rubygems

Version Path
trackler-2.2.1.116 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.115 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.114 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.113 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.111 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.110 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.109 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.108 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.107 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.106 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.105 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.104 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.103 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.102 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.101 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.100 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.99 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.98 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.97 tracks/c/exercises/binary-search/makefile
trackler-2.2.1.96 tracks/c/exercises/binary-search/makefile