Sha256: 8db0cecf25d2e0156797de4713b0832e599e2891d52bd597a3e1deb078146a6a

Contents?: true

Size: 541 Bytes

Versions: 2

Compression:

Stored size: 541 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_all_your_base.c src/all_your_base.c src/all_your_base.h
	@echo Compiling $@
	@cc $(CFLAGS) src/all_your_base.c test/vendor/unity.c test/test_all_your_base.c -o tests.out -lm

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trackler-2.2.1.71 tracks/c/exercises/all-your-base/makefile
trackler-2.2.1.70 tracks/c/exercises/all-your-base/makefile