aboutsummaryrefslogtreecommitdiff
path: root/mod/Makefile
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-05-07 21:22:38 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2026-01-06 17:19:52 +0200
commitd501b2c9ebab6f5b90c808ea0e5fde912818707d (patch)
treec41f5292d1107ac56c3671860a18717a63730772 /mod/Makefile
parent49320376a1ba3fcc7eba7ceda2c728649ee8323e (diff)
downloadfwd-d501b2c9ebab6f5b90c808ea0e5fde912818707d.tar.gz
fwd-d501b2c9ebab6f5b90c808ea0e5fde912818707d.zip
implement enough type analysis for vector example
+ Big commit, scary + Some details still a bit up in the air, mainly about move checking structure member access ('register' types are freely copied I guess, same as in rust? How about user types?)
Diffstat (limited to 'mod/Makefile')
-rw-r--r--mod/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/Makefile b/mod/Makefile
index 0a0c045..9121afd 100644
--- a/mod/Makefile
+++ b/mod/Makefile
@@ -1,4 +1,10 @@
-all: libfwdio.so
+all: libfwdio.so libfwdmem.so libfwdutil.so
libfwdio.so: io.c ../include/fwd/mod.h
$(CC) -I../include -fPIC -O2 -g -Wall -Wextra -shared io.c -o libfwdio.so
+
+libfwdmem.so: mem.c ../include/fwd/mod.h
+ $(CC) -I../include -fPIC -O2 -g -Wall -Wextra -shared mem.c -o libfwdmem.so
+
+libfwdutil.so: util.c ../include/fwd/mod.h
+ $(CC) -I../include -fPIC -O2 -g -Wall -Wextra -shared util.c -o libfwdutil.so