Sha256: 99a141b6ba284afbe22ab50c6621fa74e1991d941b813cdeca4fc35693a0a48a

Contents?: true

Size: 514 Bytes

Versions: 44

Compression:

Stored size: 514 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

44 entries across 44 versions & 1 rubygems

Version Path
trackler-2.2.1.116 tracks/c/exercises/grains/makefile
trackler-2.2.1.115 tracks/c/exercises/grains/makefile
trackler-2.2.1.114 tracks/c/exercises/grains/makefile
trackler-2.2.1.113 tracks/c/exercises/grains/makefile
trackler-2.2.1.111 tracks/c/exercises/grains/makefile
trackler-2.2.1.110 tracks/c/exercises/grains/makefile
trackler-2.2.1.109 tracks/c/exercises/grains/makefile
trackler-2.2.1.108 tracks/c/exercises/grains/makefile
trackler-2.2.1.107 tracks/c/exercises/grains/makefile
trackler-2.2.1.106 tracks/c/exercises/grains/makefile
trackler-2.2.1.105 tracks/c/exercises/grains/makefile
trackler-2.2.1.104 tracks/c/exercises/grains/makefile
trackler-2.2.1.103 tracks/c/exercises/grains/makefile
trackler-2.2.1.102 tracks/c/exercises/grains/makefile
trackler-2.2.1.101 tracks/c/exercises/grains/makefile
trackler-2.2.1.100 tracks/c/exercises/grains/makefile
trackler-2.2.1.99 tracks/c/exercises/grains/makefile
trackler-2.2.1.98 tracks/c/exercises/grains/makefile
trackler-2.2.1.97 tracks/c/exercises/grains/makefile
trackler-2.2.1.96 tracks/c/exercises/grains/makefile