Sha256: 076688a6083df9d1e111cff216ce1b76d4d942e4d9f8ba216ca1fc7c33a59c3e

Contents?: true

Size: 556 Bytes

Versions: 2

Compression:

Stored size: 556 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_rna_transcription.c src/rna_transcription.c src/rna_transcription.h
	@echo Compiling $@
	@cc $(CFLAGS) src/rna_transcription.c test/vendor/unity.c test/test_rna_transcription.c -o tests.out

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trackler-2.2.1.71 tracks/c/exercises/rna-transcription/makefile
trackler-2.2.1.70 tracks/c/exercises/rna-transcription/makefile