From: Robert Pengelly Date: Wed, 8 Jul 2026 16:57:53 +0000 (+0100) Subject: Removed Makefile.wat X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=005d8ee3d8431b1a6f75c8232cafa4d421695f12;p=scc.git Removed Makefile.wat --- diff --git a/Makefile.wat b/Makefile.wat deleted file mode 100755 index d7c8fb9..0000000 --- a/Makefile.wat +++ /dev/null @@ -1,31 +0,0 @@ -#****************************************************************************** -# @file Makefile.wat -#****************************************************************************** -SRCDIR ?= $(CURDIR) -VPATH := $(SRCDIR) - -CPP_DIR := $(SRCDIR)/cpp -CC1_DIR := $(SRCDIR)/cc1 - -CPP_SRC := $(wildcard $(CPP_DIR)/*.c) -CC1_SRC := $(wildcard $(CC1_DIR)/*.c) - -all: scc-cpp.exe scc-cc1.exe - -scc-cpp.exe: $(CPP_SRC) - - wcl -fe=$@ $(subst /,\,$^) - -scc-cc1.exe: $(CC1_SRC) - - wcl -fe=$@ $(subst /,\,$^) - -clean: - - for /r %%f in (*.obj) do ( if exist %%f ( del /q %%f ) ) - - if exist scc-cpp.exe ( del /q scc-cpp.exe ) - if exist scc-cc1.exe ( del /q scc-cc1.exe ) - - if exist scc-cpp ( del /q scc-cpp ) - if exist scc-cc1 ( del /q scc-cc1 ) diff --git a/int64.c b/int64.c index 1e4fe92..f9a46bd 100644 --- a/int64.c +++ b/int64.c @@ -17,7 +17,7 @@ void add64 (int64_s *a, int64_s b) { unsigned long raw_sum = (al + bl) & U32_MASK; unsigned long carry = (raw_sum < al) ? 1UL : 0UL; - + a->low = raw_sum; a->high = ((a->high & U32_MASK) + (b.high & U32_MASK) + carry) & U32_MASK;