Sha256: c6741e0733b5a20edb6bad9591e225942d946faaf104f13252d0462a43f7a6f4

Contents?: true

Size: 507 Bytes

Versions: 2

Compression:

Stored size: 507 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_acronym.c src/acronym.c src/acronym.h
	@echo Compiling $@
	@cc $(CFLAGS) src/acronym.c test/vendor/unity.c test/test_acronym.c -o tests.out

Version data entries

2 entries across 2 versions & 1 rubygems

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