2023-04-15 21:22:44 +00:00
|
|
|
STL_FILES = base.stl hinged_lid.stl simple_lid.stl tandy_lid.stl
|
|
|
|
|
2023-04-15 22:21:03 +00:00
|
|
|
all: $(STL_FILES) lint
|
2023-04-15 21:22:44 +00:00
|
|
|
|
2023-04-15 22:21:03 +00:00
|
|
|
%.stl: %.py dimensions.py utils.py components/*py
|
2023-04-15 21:59:08 +00:00
|
|
|
python $<
|
|
|
|
|
2023-04-15 22:21:03 +00:00
|
|
|
lint: .lint
|
|
|
|
|
|
|
|
.lint: **.py
|
2023-04-15 21:59:08 +00:00
|
|
|
flake8
|
|
|
|
touch .lint
|
|
|
|
|