Pantograph/Makefile

21 lines
401 B
Makefile
Raw Permalink Normal View History

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