Windows working.

This commit is contained in:
Brad Nelson
2021-01-04 20:09:33 -08:00
parent 3ccafd0825
commit 4693c30ab3
6 changed files with 120 additions and 38 deletions

View File

@ -27,6 +27,7 @@ STRIP_ARGS = -S \
LIBS=-ldl
WIN_ARCH=i686
#WIN_ARCH=x86_64
WINFLAGS = -mwindows -luser32
TARGETS = $(WEB)/terminal.html \
@ -54,11 +55,11 @@ core_test: $(POSIX)/ueforth common/core_test.fs \
$(GEN):
mkdir -p $@
POSIX_BOOT = common/boot.fs posix/posix.fs
POSIX_BOOT = common/boot.fs common/terminal.fs posix/posix.fs
$(GEN)/posix_boot.h: common/source_to_string.js $(POSIX_BOOT) | $(GEN)
echo "ok" | cat $(POSIX_BOOT) - | $< boot >$@
WINDOWS_BOOT = common/boot.fs
WINDOWS_BOOT = common/boot.fs common/terminal.fs windows/windows.fs
$(GEN)/windows_boot.h: common/source_to_string.js $(WINDOWS_BOOT) | $(GEN)
echo "ok" | cat $(WINDOWS_BOOT) - | $< boot >$@