Sha256: f6a32b779c2f53083e3853efd98a688c6db74063699e5090d21672ce8a7b8f32

Contents?: true

Size: 513 Bytes

Versions: 44

Compression:

Stored size: 513 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_sieve.c src/sieve.c src/sieve.h
	@echo Compiling $@
	@cc $(CFLAGS) src/sieve.c test/vendor/unity.c test/test_sieve.c -o tests.out -lm

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
trackler-2.2.1.116 tracks/c/exercises/sieve/makefile
trackler-2.2.1.115 tracks/c/exercises/sieve/makefile
trackler-2.2.1.114 tracks/c/exercises/sieve/makefile
trackler-2.2.1.113 tracks/c/exercises/sieve/makefile
trackler-2.2.1.111 tracks/c/exercises/sieve/makefile
trackler-2.2.1.110 tracks/c/exercises/sieve/makefile
trackler-2.2.1.109 tracks/c/exercises/sieve/makefile
trackler-2.2.1.108 tracks/c/exercises/sieve/makefile
trackler-2.2.1.107 tracks/c/exercises/sieve/makefile
trackler-2.2.1.106 tracks/c/exercises/sieve/makefile
trackler-2.2.1.105 tracks/c/exercises/sieve/makefile
trackler-2.2.1.104 tracks/c/exercises/sieve/makefile
trackler-2.2.1.103 tracks/c/exercises/sieve/makefile
trackler-2.2.1.102 tracks/c/exercises/sieve/makefile
trackler-2.2.1.101 tracks/c/exercises/sieve/makefile
trackler-2.2.1.100 tracks/c/exercises/sieve/makefile
trackler-2.2.1.99 tracks/c/exercises/sieve/makefile
trackler-2.2.1.98 tracks/c/exercises/sieve/makefile
trackler-2.2.1.97 tracks/c/exercises/sieve/makefile
trackler-2.2.1.96 tracks/c/exercises/sieve/makefile