commit 1b3014243e2252993d1a7dc4fa55cca8e36782a1 from: Benjamin Stürz date: Sat Nov 16 00:15:21 2024 UTC document top-level make targets and macros commit - 4b5119b611fc1c0c7813fc0641dd23883c8cb9b4 commit + 1b3014243e2252993d1a7dc4fa55cca8e36782a1 blob - bba1d6e2f2136d7fbd9215a65b3b3e2e63aafac0 blob + 00d537b8ff2a336b051fa138c5e8138488ae27e8 --- MyMakefile +++ MyMakefile @@ -1,15 +1,23 @@ TOP != pwd + +## Path to the C Compiler CC ?= cc + +## Path to Yacc YACC ?= ${TOP}/tools/bin/yacc +## Build everything all: make sys cc +## Clean everything clean: make/clean sys/clean cc/clean rm -f *.core +## Clean even more things distclean: clean rm -rf tools +## Get a list of all things to be done todo: @find . -name 'TODO*' | while read -r file; do \ echo "=== $$file"; \