Sha256: 05dd358ffaeb672ce9ded9b8cdba212e0d916b73110c5fcb89c6a1b5e902aadd

Contents?: true

Size: 519 Bytes

Versions: 3

Compression:

Stored size: 519 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_two_fer.c src/two_fer.c src/two_fer.h
	@echo Compiling $@
	@cc $(CFLAGS) src/two_fer.c test/vendor/unity.c test/test_two_fer.c -o tests.out

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trackler-2.2.1.116 tracks/c/exercises/two-fer/makefile
trackler-2.2.1.115 tracks/c/exercises/two-fer/makefile
trackler-2.2.1.114 tracks/c/exercises/two-fer/makefile