summaryrefslogtreecommitdiff
path: root/service/Makefile
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2024-04-06 15:37:04 +0000
committerAda Christine <adachristine18@gmail.com>2024-04-06 15:37:04 +0000
commit912a4c7169e171a40b52d88c0ac82445855b979b (patch)
tree91ffb02a8f2ef7c6503f04c3c59d6e482df782ea /service/Makefile
parent7fd8c908b9dafa85957bb6e6ce3f51d4dfa7c4dc (diff)
more abstract build
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 d6e762d..1a4e400 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
+VPATH := ../lib arch/x86_64/
TARGET := kjarna.os
.DEFAULT: $(TARGET)
@@ -15,7 +15,7 @@ CFLAGS += -fPIC -fvisibility=hidden -mgeneral-regs-only
LDSCRIPT := kc.ld
-CRT_OBJS := start_x86_64.o dynamic_x86_64.o elf64.o kjarna.o
+CRT_OBJS := start.o rtld_link.o dynamic.o elf64.o kjarna.o
LIB_OBJS := memcmp.o memcpy.o memmove.o memset.o string.o stdio.o \
printf.o
APP_OBJS := main.o