make clean all run list
... produces:
rm -rf t check.dylib
v -prod -freestanding -shared -no-builtin -gc none check.v
cc -o t t.c
./t
INFO: /Users/delyanangelov/code/misc/2024_12_25__09/check.dylib OK
a: 123
b: 456
c: 579
VQUIET=1 v -prod -gc none run load_check.v
[load_check.v:7] f(123, 456): 579
ls -lrt
total 336
-rw-r--r-- 1 delyanangelov staff 62 Dec 25 09:07 check.v
-rw-r--r-- 1 delyanangelov staff 800 Dec 25 09:33 t.c
-rw-r--r-- 1 delyanangelov staff 247 Dec 25 09:38 load_check.v
-rw-r--r--@ 1 delyanangelov staff 1071 Dec 25 09:50 LICENSE
-rw-r--r-- 1 delyanangelov staff 964 Dec 25 09:52 README.md
-rw-r--r-- 1 delyanangelov staff 265 Dec 25 09:53 Makefile
-rwxr-xr-x 1 delyanangelov staff 16792 Dec 25 09:54 check.dylib
-rwxr-xr-x 1 delyanangelov staff 33648 Dec 25 09:54 t
-rwxr-xr-x 1 delyanangelov staff 86136 Dec 25 09:54 load_check