summaryrefslogtreecommitdiff
path: root/service/Makefile
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2025-01-27 02:05:07 +0000
committerAda Christine <adachristine18@gmail.com>2025-01-27 02:05:07 +0000
commit0d2ddecc9aeb232746b76b4eebdb1381053a8951 (patch)
tree31fe2fc38ead88a0d982b06b3783aae4f094b8ad /service/Makefile
parent6faeb8d3aed797ddfac66ecc21fc8a717d5e848a (diff)
checkpoint. we can fake syscall with the dummy gdt
Diffstat (limited to 'service/Makefile')
-rw-r--r--service/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/Makefile b/service/Makefile
index 09ff0be..b78cac3 100644
--- a/service/Makefile
+++ b/service/Makefile
@@ -4,7 +4,7 @@ LDFLAGS += -z max-page-size=4096 --export-dynamic -pic \
-z separate-code -pie -Bsymbolic -shared \
-z noexecstack -g
-VPATH := ../lib arch/x86_64/
+VPATH := ../lib arch/x86_64/ lib
TARGET := kjarna.os
.DEFAULT: $(TARGET)
@@ -15,7 +15,7 @@ CFLAGS += -fPIC -fvisibility=hidden -mgeneral-regs-only
LDSCRIPT := kjarna.ld
-CRT_OBJS := start.o rtld_link.o dynamic.o elf64.o kjarna.o
+CRT_OBJS := start.o rtld_link.o dynamic.o elf64.o kjarna.o posix.o
LIB_OBJS := memcmp.o memcpy.o memmove.o memset.o string.o stdio.o \
printf.o heap.o
APP_OBJS := main.o