Sha256: 3a6e62dbb6f617933195804970162d46f6d4d212a0574a40ff1c7f9e3a7c007e

Contents?: true

Size: 509 Bytes

Versions: 44

Compression:

Stored size: 509 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 -rf *.o *.out *.out.dSYM

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

44 entries across 44 versions & 1 rubygems

Version Path
trackler-2.2.1.75 tracks/c/exercises/react/makefile
trackler-2.2.1.74 tracks/c/exercises/react/makefile
trackler-2.2.1.73 tracks/c/exercises/react/makefile
trackler-2.2.1.72 tracks/c/exercises/react/makefile