Sha256: d1fa3b108a0a038579ef575ffaf43d79b24f97b1f9d8f242e402744e2ded8d28

Contents?: true

Size: 532 Bytes

Versions: 2

Compression:

Stored size: 532 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_queen_attack.c src/queen_attack.c src/queen_attack.h
	@echo Compiling $@
	@cc $(CFLAGS) src/queen_attack.c test/vendor/unity.c test/test_queen_attack.c -o tests.out

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trackler-2.2.1.71 tracks/c/exercises/queen-attack/makefile
trackler-2.2.1.70 tracks/c/exercises/queen-attack/makefile