uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 0ca61b595388185d20607d4cbc17c40de402fa3b
parent 545aa2341ac98c1184f78042abea247553f1e04a
Author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
Date:   Sat, 24 Apr 2021 13:21:15 +0000

mkfile: build all examples & demos

Diffstat:
Mmkfile | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/mkfile b/mkfile @@ -1,7 +1,7 @@ </$objtype/mkfile TARG=assembler debugger emulator -ROM=`{ls -p projects/examples/*.usm | grep -v blank.usm | sed 's/\.usm//g'} +USM=`{walk -f projects/ | grep '\.usm$' | grep -v blank.usm} CFLAGS=$CFLAGS -I/sys/include/npe BIN=/$objtype/bin/uxn HFILES=\ @@ -14,7 +14,7 @@ CLEANFILES=${TARG:%=bin/%} ${ROM:%=bin/%.rom} default:V: all -all:V: ${TARG:%=bin/%} ${ROM:%=bin/%.rom} +all:V: ${TARG:%=bin/%} ${USM:%.usm=%.rom} </sys/src/cmd/mkmany @@ -24,8 +24,8 @@ all:V: ${TARG:%=bin/%} ${ROM:%=bin/%.rom} mk install && rm -r npe-master -bin/%.rom: projects/examples/%.usm bin/assembler - bin/assembler projects/examples/$stem.usm $target +%.rom: %.usm bin/assembler + bin/assembler $stem.usm $target && cp $target bin/ bin/assembler:Q: $O.assembler mkdir -p bin && cp $prereq $target