Pantograph/Makefile

21 lines
425 B
Makefile
Raw Normal View History

LIB := ./.lake/build/lib/Pantograph.olean
EXE := ./.lake/build/bin/pantograph
2024-04-22 00:11:41 -07:00
SOURCE := $(wildcard *.lean Pantograph/*.lean Pantograph/**/*.lean) lean-toolchain
2023-10-02 10:26:19 -07:00
TEST_EXE := ./.lake/build/bin/test
2024-04-22 00:11:41 -07:00
TEST_SOURCE := $(wildcard Test/*.lean Test/**/*.lean)
2023-10-02 10:26:19 -07:00
$(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)
$(TEST_EXE)
2023-10-02 10:26:19 -07:00
2023-10-15 12:31:22 -07:00
clean:
lake clean
.PHONY: test clean