summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2022-08-07 17:03:30 +0200
committerdzwdz2022-08-07 17:03:30 +0200
commit9592773ed84caae01bd23150c52f083c1200092f (patch)
treead4c786388492514193f4c684ecec2f9a8dc9187 /Makefile
parentb962cd6062a08c063e6b10afaaa930956ee99e2d (diff)
user/libc: port dlmalloc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b38edbd..39b7374 100644
--- a/Makefile
+++ b/Makefile
@@ -129,6 +129,13 @@ out/obj/user/%.c.o: src/user/%.c
@mkdir -p $(@D)
@$(CC) $(USER_CFLAGS) -fPIC -c $^ -o $@
+out/obj/user/lib/vendor/%.c.o: src/user/lib/vendor/%.c
+ @mkdir -p $(@D)
+ @$(CC) $(USER_CFLAGS) -fPIC -c $^ -o $@ \
+ -DLACKS_TIME_H -DLACKS_FCNTL_H -DLACKS_SYS_PARAM_H \
+ -DMAP_ANONYMOUS -DHAVE_MORECORE=0 -DNO_MALLOC_H \
+ -Wno-expansion-to-defined -Wno-old-style-definition
+
out/obj/user/bootstrap/%.c.o: src/user/bootstrap/%.c
@mkdir -p $(@D)
@$(CC) $(USER_CFLAGS) -c $^ -o $@