Strip comments out of code before packing CFS

This shrinks the CFS size to 21k from nearly 64K. This will allow me to
kick the can down the road a bit with regards to supporting storage
seek/tell greater than 64K.

I'll get to it, but first, I want to assemble zasm with zasm!
This commit is contained in:
Virgil Dupras 2019-05-17 19:54:35 -04:00
parent ae2187ad06
commit 93e40aeb09
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ zasm/user.h: zasm/user.asm
zasm/includes.cfs: ../../parts/z80 $(CFSPACK)
cp -rf $< zasm/includes
rm zasm/includes/README.md
find zasm/includes -type f -exec sed -i -e 's/;.*//g' {} \;
$(CFSPACK) zasm/includes > $@
rm -rf zasm/includes