forked from WHC/Hermit
Vendored sashidown, OpenAI-compatible env (OPENAI_*), and bootstrap scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
172 B
Makefile
16 lines
172 B
Makefile
CC ?= gcc
|
|
CFLAGS ?= -std=c11 -Wall -Wextra -O2
|
|
|
|
.PHONY: all clean test
|
|
|
|
all: calc
|
|
|
|
calc: calc.c
|
|
$(CC) $(CFLAGS) -o $@ $<
|
|
|
|
test: calc
|
|
./tests/smoke.sh
|
|
|
|
clean:
|
|
rm -f calc
|