fixes for A2

mostly include some things that should and remove some things that shouldn't have been included in the handout (yes this does hint at some places that need to be touched for A2)
This commit is contained in:
Niklas Gollenstede
2025-11-24 15:04:26 +01:00
parent 174fe17e89
commit 4245798955
18 changed files with 186 additions and 3300 deletions

View File

@@ -99,7 +99,7 @@ $(BUILDDIR)/%.asm.o : %.asm $(MAKEFILE_LIST)
# The standard target 'clean' removes the whole generated system, the object files, and the dependency files.
clean::
rm -rf "$(BUILDDIR)"
rm -rf doc
# Target issuing a nested call to make generating a fully optimized systems without assertions.
%-$(OPTTAG):
@@ -120,6 +120,9 @@ clean::
%-$(VERBOSETAG):
$(VERBOSE) $(MAKE) BUILDDIR="$(BUILDDIR)/$(VERBOSETAG)" ISODIR="$(ISODIR)/$(VERBOSETAG)" CXXFLAGS_OPT="-DVERBOSE" $*
# Build the doxygen docs
doc:
PROJECT_NAME=StuBS doxygen ../doxygen/doxy-sra.cfg
# Documentation
help::
@@ -134,7 +137,8 @@ help::
"To get a verbose make output, clear VERBOSE, e.g. \e[3mmake VERBOSE=\e[0m.\n" \
"The following targets are available (each target can be suffixed by \e[3m-noopt\e[0m\n" \
"and \e[3m-verbose\e[0m):\n\n" \
" \e[3mall\e[0m Builds $(PROJECT), generating an ELF binary\n\n"
" \e[3mall\e[0m Builds $(PROJECT), generating an ELF binary\n\n" \
" \e[3mdoc\e[0m Builds the documention (doc/html/index.html)\n" \
# Print warnings, if appropriate
@@ -150,4 +154,4 @@ endif
# Phony targets
.PHONY: clean help
.PHONY: clean doc help