| 1 | # open hoagie - the build system |
| 2 | # |
| 3 | # The build is reproducible from source. "From source" means: from a real |
| 4 | # kitchen, with a real knife, and a real table. There is no container. |
| 5 | # |
| 6 | # Targets: lunch, double-meat, no-tomato, you-do-you |
| 7 | BREAD := src/bread.py |
| 8 | PROP := napkin |
| 9 | |
| 10 | .PHONY: lunch double-meat no-tomato you-do-you clean |
| 11 | |
| 12 | lunch: ## the whole point of this repository |
| 13 | @echo "Assembling open hoagie from source..." |
| 14 | @python3 $(BREAD) |
| 15 | @echo "done. serve immediately on a shared plate." |
| 16 | @echo "hint: bring the chips. section 1(c) of the license is not a joke." |
| 17 | |
| 18 | double-meat: lunch |
| 19 | @echo "second layer of roast_beef.c requested (performance was already fine)" |
| 20 | |
| 21 | no-tomato: lunch |
| 22 | @echo "acid supplied by pickles instead; tomato unscheduled" |
| 23 | |
| 24 | you-do-you: ## the forgiving target. no judgments, ever. |
| 25 | @echo "we respect your hoagie. carry on." |
| 26 | |
| 27 | clean: ## removes the PROOF of the hoagie. bold. |
| 28 | @rm -f crumbs/ 2>/dev/null || true |
| 29 | @echo "nothing happened. there is no evidence. move along." |