Minor fixes and API change

- fix stupid spaces in Makefile
- small type annotation fix
- Modify Expression constructor API to use varargs
- Update kiwi.lua to support future C API module
This commit is contained in:
2024-02-19 23:42:52 -06:00
parent 9b00e62d43
commit 6a99504835
3 changed files with 32 additions and 23 deletions

View File

@@ -5,14 +5,14 @@ CFLAGS += -Wall -I$(SRCDIR)/kiwi
LIBFLAG := -shared
LIB_EXT := so
ifeq ($(findstring gcc, $(CC)), gcc)
CXX := $(subst gcc, g++, $(CC))
ifeq ($(findstring gcc,$(CC)),gcc)
CXX := $(subst gcc,g++,$(CC))
CXXFLAGS += -std=c++14
ifneq ($(SANITIZE),)
CFLAGS += -fsanitize=undefined -fsanitize=address
endif
else
ifeq ($(CC), clang)
ifeq ($(CC),clang)
CXX := clang++
CXXFLAGS += -std=c++14
ifneq ($(SANITIZE),)