diff --git a/Makefile b/Makefile index a1b1732..2b935a1 100644 --- a/Makefile +++ b/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 interfaces/rre_image.c rm rre.image cd interfaces && $(CC) $(CFLAGS) $(LDFLAGS) -o ../bin/retro $(LIBM) rre.c image-functions.o $(RREIO) diff --git a/packages/list b/packages/list new file mode 100644 index 0000000..e69de29