Files
c2/Makefile
2026-05-01 09:44:46 +02:00

21 lines
301 B
Makefile

.PHONY: all test clean
all: c2 test integration-test
c2: v0/bin/c2
cp $< $@
test::
generate_golden::
clean::
rm -f c2
include v0/include.mk
integration-test: v0/bin/c2 v0/bin/test_integration
./v0/bin/test_integration
v0/bin/test_integration: v0/test_integration.c
$(CC) $(CFLAGS) -o $@ $<