Files
looper/makefile
Loic Coenen 2b35be36fb fix: link JACK and math libraries in integration test build
Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
2026-05-07 21:17:51 +00:00

15 lines
318 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
.PHONY: clean integration
clean:
rm -f looper integration_test