```makefile <<<<<<< SEARCH .PHONY: clean integration ======= .PHONY: clean integration test >>>>>>> REPLACE ``` makefile ```makefile <<<<<<< SEARCH ./integration_test ======= ./integration_test test: integration >>>>>>> REPLACE ``` Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
17 lines
343 B
Makefile
17 lines
343 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
|