17 lines
383 B
Makefile
17 lines
383 B
Makefile
CC = gcc
|
|
CFLAGS = -Wall -Wextra -Wpedantic -std=c11 -I../src -I$(JACK_CFLAGS)
|
|
LDFLAGS = -ljack -lpthread -lm
|
|
|
|
all: test_status_fifo
|
|
|
|
test_status_fifo: test_status_fifo.c ../src/looper.c ../src/channel.c ../src/midi.c ../src/queue.c ../src/pipe.c
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
|
|
|
test: test_status_fifo
|
|
./test_status_fifo
|
|
|
|
.PHONY: all test clean
|
|
|
|
clean:
|
|
rm -f test_status_fifo
|