Sha256: ea14ed1514f05fe67c6ab8d3373de4d943e8fa74c567cd705e5069b389b0f931

Contents?: true

Size: 564 Bytes

Versions: 44

Compression:

Stored size: 564 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_pascals_triangle.c src/pascals_triangle.c src/pascals_triangle.h
	@echo Compiling $@
	@cc $(CFLAGS) src/pascals_triangle.c test/vendor/unity.c test/test_pascals_triangle.c -o tests.out

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
trackler-2.2.1.75 tracks/c/exercises/pascals-triangle/makefile
trackler-2.2.1.74 tracks/c/exercises/pascals-triangle/makefile
trackler-2.2.1.73 tracks/c/exercises/pascals-triangle/makefile
trackler-2.2.1.72 tracks/c/exercises/pascals-triangle/makefile