Sha256: add007b225e20dc1a7d0a94605666d4adbc246f059f0bf8fd86e4603d9e9ed8e

Contents?: true

Size: 537 Bytes

Versions: 63

Compression:

Stored size: 537 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_gigasecond.c src/gigasecond.c src/gigasecond.h
	@echo Compiling $@
	@$(CC) $(CFLAGS) src/gigasecond.c test/vendor/unity.c test/test_gigasecond.c -o tests.out

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.179 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.178 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.177 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.176 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.175 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.174 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.173 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.172 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.171 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.170 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.169 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.167 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.166 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.165 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.164 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.163 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.162 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.161 tracks/c/exercises/gigasecond/makefile
trackler-2.2.1.160 tracks/c/exercises/gigasecond/makefile