Sha256: a3212172cc85702f8d8dc6821e33acb0e11f372191a4a92063a1ee2cd8811325

Contents?: true

Size: 497 Bytes

Versions: 2

Compression:

Stored size: 497 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_react.c src/react.c src/react.h
	@echo Compiling $@
	@cc $(CFLAGS) src/react.c test/vendor/unity.c test/test_react.c -o tests.out

Version data entries

2 entries across 2 versions & 1 rubygems

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