mirror of
https://git.sr.ht/~crc_/retroforth
synced 2024-11-16 19:48:56 +01:00
use files from packages/ as specified in packages/list
FossilOrigin-Name: 3a28598bb8dbe07f98b69c9e4e44e2c7e59249720e86e2b6cb3553ff07622f59
This commit is contained in:
parent
3d55c08bbf
commit
8d0d4b8a0b
2 changed files with 1 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -21,7 +21,6 @@ toolchain: dirs bin/retro-embedimage bin/retro-extend bin/retro-injectimage-js b
|
|||
|
||||
dirs:
|
||||
mkdir -p bin
|
||||
mkdir -p packages
|
||||
|
||||
clean:
|
||||
rm -f bin/*
|
||||
|
@ -124,7 +123,7 @@ bin/retro-ri: io bin/retro-embedimage bin/retro-extend interfaces/ri_image.c int
|
|||
bin/retro: io bin/retro-embedimage bin/retro-extend interfaces/image.c interfaces/rre.c interfaces/rre.forth interfaces/image-functions.o interfaces/io/rng.forth
|
||||
cp ngaImage rre.image
|
||||
./bin/retro-extend rre.image interfaces/io/io_filesystem.forth interfaces/io/io_gopher.forth interfaces/io/io_floatingpoint.forth interfaces/io/io_unix_syscalls.forth interfaces/io/rng.forth interfaces/rre.forth
|
||||
find packages/ -name "*.forth" -type f -exec ./bin/retro-extend rre.image {} \;
|
||||
cd packages/ && xargs -L1 ../bin/retro-extend ../rre.image <list
|
||||
./bin/retro-embedimage rre.image >interfaces/rre_image.c
|
||||
rm rre.image
|
||||
cd interfaces && $(CC) $(CFLAGS) $(LDFLAGS) -o ../bin/retro $(LIBM) rre.c image-functions.o $(RREIO)
|
||||
|
|
0
packages/list
Normal file
0
packages/list
Normal file
Loading…
Reference in a new issue