Sha256: a852c2bc1ce8251d59db477a82f18abee70b298a955c65ca9f610f4f9675953c

Contents?: true

Size: 519 Bytes

Versions: 44

Compression:

Stored size: 519 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_sublist.c src/sublist.c src/sublist.h
	@echo Compiling $@
	@cc $(CFLAGS) src/sublist.c test/vendor/unity.c test/test_sublist.c -o tests.out

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
trackler-2.2.1.95 tracks/c/exercises/sublist/makefile
trackler-2.2.1.94 tracks/c/exercises/sublist/makefile
trackler-2.2.1.93 tracks/c/exercises/sublist/makefile
trackler-2.2.1.92 tracks/c/exercises/sublist/makefile
trackler-2.2.1.91 tracks/c/exercises/sublist/makefile
trackler-2.2.1.90 tracks/c/exercises/sublist/makefile
trackler-2.2.1.89 tracks/c/exercises/sublist/makefile
trackler-2.2.1.88 tracks/c/exercises/sublist/makefile
trackler-2.2.1.87 tracks/c/exercises/sublist/makefile
trackler-2.2.1.86 tracks/c/exercises/sublist/makefile
trackler-2.2.1.85 tracks/c/exercises/sublist/makefile
trackler-2.2.1.84 tracks/c/exercises/sublist/makefile
trackler-2.2.1.83 tracks/c/exercises/sublist/makefile
trackler-2.2.1.82 tracks/c/exercises/sublist/makefile
trackler-2.2.1.81 tracks/c/exercises/sublist/makefile
trackler-2.2.1.80 tracks/c/exercises/sublist/makefile
trackler-2.2.1.79 tracks/c/exercises/sublist/makefile
trackler-2.2.1.78 tracks/c/exercises/sublist/makefile
trackler-2.2.1.77 tracks/c/exercises/sublist/makefile
trackler-2.2.1.76 tracks/c/exercises/sublist/makefile