summaryrefslogtreecommitdiff
path: root/kjarna_runtime/Makefile
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2024-03-03 08:44:42 +0000
committerAda Christine <adachristine18@gmail.com>2024-03-03 08:44:42 +0000
commitf61da8be06fdfebc598cba783e78117319231140 (patch)
tree0ef21f89e98a985ab5d985aaac1e032c868e8b81 /kjarna_runtime/Makefile
parent9681d6a6cbde12b00beab62683b8db98f680ba2b (diff)
build changes
Diffstat (limited to 'kjarna_runtime/Makefile')
-rw-r--r--kjarna_runtime/Makefile37
1 files changed, 0 insertions, 37 deletions
diff --git a/kjarna_runtime/Makefile b/kjarna_runtime/Makefile
deleted file mode 100644
index d6e762d..0000000
--- a/kjarna_runtime/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-include ../defaults.mk
-
-LDFLAGS += -z max-page-size=4096 --export-dynamic -pic \
- -z separate-code -pie -Bsymbolic -shared \
- -z noexecstack -g
-
-VPATH := ../lib
-
-TARGET := kjarna.os
-.DEFAULT: $(TARGET)
-
-CPPFLAGS += -I../api/posix -I../api/libc -I../api -I.
-
-CFLAGS += -fPIC -fvisibility=hidden -mgeneral-regs-only
-
-LDSCRIPT := kc.ld
-
-CRT_OBJS := start_x86_64.o dynamic_x86_64.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
-
-OBJS := $(CRT_OBJS) $(LIB_OBJS) $(APP_OBJS)
-
-DEPS := $(patsubst %.o,%.d,$(OBJS))
-
-$(TARGET): $(LDSCRIPT) $(MAKEFILE_LIST)
-$(TARGET): $(OBJS)
-
-CLEANLIST := $(wildcard $(OBJS) $(TARGET))
-DCLEANLIST := $(wildcard $(DEPS))
-
-include ../rules.mk
--include $(DEPS)
-
-.DEFAULT: $(TARGET)
-