Sha256: 8b0d298f52d66f4fe1359f4221039bc2a2be5fed23cfc5d906287b67882d7e50

Contents?: true

Size: 502 Bytes

Versions: 2

Compression:

Stored size: 502 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_grains.c src/grains.c src/grains.h
	@echo Compiling $@
	@cc $(CFLAGS) src/grains.c test/vendor/unity.c test/test_grains.c -o tests.out

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trackler-2.2.1.71 tracks/c/exercises/grains/makefile
trackler-2.2.1.70 tracks/c/exercises/grains/makefile