17 lines
342 B
Makefile
17 lines
342 B
Makefile
CC ?= gcc
|
|
CFLAGS ?= -Wall -Wextra -g
|
|
LDFLAGS ?= -ljack
|
|
|
|
looper: src/main.c
|
|
$(CC) $(CFLAGS) -o looper src/main.c $(LDFLAGS)
|
|
|
|
integration: looper tests/integration.c
|
|
$(CC) $(CFLAGS) -o integration_test tests/integration.c -ljack -lm
|
|
./integration_test
|
|
|
|
test: integration
|
|
|
|
.PHONY: clean integration test
|
|
clean:
|
|
rm -f looper integration_test
|