Files
c2/Makefile
T

21 lines
284 B
Makefile

.PHONY: all test clean
all: c2 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 $@ $<