Sha256: 4d330af9020a3babf73779917500616d53674ff10a96c3b9122e3f5866072ab8

Contents?: true

Size: 527 Bytes

Versions: 6

Compression:

Stored size: 527 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_hello_world.c src/hello_world.c src/hello_world.h
	@echo Compiling $@
	@cc $(CFLAGS) src/hello_world.c test/vendor/unity.c test/test_hello_world.c -o tests.out

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trackler-2.2.1.71 tracks/c/exercises/hello-world/makefile
trackler-2.2.1.70 tracks/c/exercises/hello-world/makefile
trackler-2.2.1.69 tracks/c/exercises/hello-world/makefile
trackler-2.2.1.68 tracks/c/exercises/hello-world/makefile
trackler-2.2.1.67 tracks/c/exercises/hello-world/makefile
trackler-2.2.1.66 tracks/c/exercises/hello-world/makefile