Adding posix signal handling.

This commit is contained in:
Brad Nelson
2022-12-31 16:21:43 -08:00
parent f77a65ce3c
commit 5afdbf0423
9 changed files with 57 additions and 10 deletions

View File

@ -345,6 +345,8 @@ $(WEB)/ueforth.js: \
# ---- POSIX ----
POSIX_CFLAGS = -DHAS_SIGNALS
posix: posix_target posix_tests
posix_target: $(POSIX)/ueforth
@ -363,7 +365,7 @@ $(POSIX)/ueforth: \
common/bits.h \
common/core.h \
$(GEN)/posix_boot.h | $(POSIX)
$(CXX) $(CFLAGS) $< -o $@ $(LIBS)
$(CXX) $(CFLAGS) $(POSIX_CFLAGS) $< -o $@ $(LIBS)
strip $(STRIP_ARGS) $@
# ---- WINDOWS ----