Sha256: 8b52f0fb55c7ffd27301d90b0df4964625db12923de84bb13eda4211d113851d

Contents?: true

Size: 504 Bytes

Versions: 8

Compression:

Stored size: 504 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_luhn.c src/luhn.c src/luhn.h
	@echo Compiling $@
	@cc $(CFLAGS) src/luhn.c test/vendor/unity.c test/test_luhn.c -o tests.out

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
trackler-2.2.1.116 tracks/c/exercises/luhn/makefile
trackler-2.2.1.115 tracks/c/exercises/luhn/makefile
trackler-2.2.1.114 tracks/c/exercises/luhn/makefile
trackler-2.2.1.113 tracks/c/exercises/luhn/makefile
trackler-2.2.1.111 tracks/c/exercises/luhn/makefile
trackler-2.2.1.110 tracks/c/exercises/luhn/makefile
trackler-2.2.1.109 tracks/c/exercises/luhn/makefile
trackler-2.2.1.108 tracks/c/exercises/luhn/makefile