Pantograph/Makefile

21 lines
386 B
Makefile
Raw Normal View History

2023-10-02 10:26:19 -07:00
LIB := build/lib/Pantograph.olean
EXE := build/bin/pantograph
SOURCE := $(wildcard Pantograph/*.lean) $(wildcard *.lean) lean-toolchain
2023-10-02 10:26:19 -07:00
TEST_EXE := build/bin/test
TEST_SOURCE := $(wildcard Test/*.lean)
$(LIB) $(EXE): $(SOURCE)
2023-10-15 12:31:22 -07:00
lake build pantograph
2023-10-02 10:26:19 -07:00
$(TEST_EXE): $(LIB) $(TEST_SOURCE)
lake build test
test: $(TEST_EXE)
lake env $(TEST_EXE)
2023-10-15 12:31:22 -07:00
clean:
lake clean
.PHONY: test clean