Makefile 307 Bytes
Newer Older
1
CC ?= gcc
2
C_FLAGS ?= -I../ -Wall -Wextra -Wpedantic $(shell pkg-config --cflags lv2) \
3 4 5 6 7 8
					 -fprofile-arcs -ftest-coverage

all: osc_test

osc_test: osc_test.c ../osc.lv2/*.h
	$(CC) -std=gnu11 -g -o $@ $< $(C_FLAGS) -lpthread
9 10 11 12

check: osc_test
	./$<
	gcov $<.c
13 14 15

clean:
	rm -f osc_test *.gcov *.gc* vgcore.*