Sha256: dba884a726a3d0d90803b34c90c4ac56211260688cbac4bf7accab86857a9895

Contents?: true

Size: 517 Bytes

Versions: 63

Compression:

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

63 entries across 63 versions & 1 rubygems

Version Path
trackler-2.2.1.119 tracks/c/exercises/grains/makefile
trackler-2.2.1.118 tracks/c/exercises/grains/makefile
trackler-2.2.1.117 tracks/c/exercises/grains/makefile