aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2022-06-08 09:41:09 -0500
committerCalvin Rose <calsrose@gmail.com>2022-06-08 09:44:49 -0500
commit3f27d78ab5c59a5dfbfa456eee2fa02a69563725 (patch)
tree2b927211196b1e649a1d8d554cf2f53040bfc22f /Makefile
parentImplement sys v abi on x64 partially. (diff)
Add some FFI testing and more improvements to sysv abi.
Add support for integer return and floating point return variants, as well as arguments on the stack. Start flushing out struct arguments. Still needed: - structs (packed and unpacked) - complex numbers - long doubles - MASM alternative for windows (you can technically use sysv abi on windows) - more calling conventions.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dd8e0f25..ad562ee7 100644
--- a/Makefile
+++ b/Makefile
@@ -227,6 +227,9 @@ valtest: $(JANET_TARGET) $(TEST_PROGRAMS)
callgrind: $(JANET_TARGET)
for f in test/suite*.janet; do valgrind --tool=callgrind ./$(JANET_TARGET) "$$f" || exit; done
+ffitest: $(JANET_TARGET)
+ $(JANET_TARGET) ffitest/test.janet
+
########################
##### Distribution #####
########################
@@ -367,5 +370,5 @@ help:
@echo ' make grammar Generate a TextMate language grammar'
@echo
-.PHONY: clean install repl debug valgrind test \
+.PHONY: clean install repl debug valgrind test ffitest \
valtest dist uninstall docs grammar format help compile-commands