move to runtime

This commit is contained in:
ProgramSnail 2024-10-31 21:08:48 +03:00
parent 6c39c65076
commit 26a42d4c81
21 changed files with 477 additions and 1879 deletions

View file

@ -1,15 +0,0 @@
RUNTIME=runtime.a
.DEFAULT := $(RUNTIME)
$(RUNTIME): gc_runtime.o runtime.o
ar rc $@ gc_runtime.o runtime.o
gc_runtime.o: gc_runtime.s
$(CC) -g -fstack-protector-all -m32 -c gc_runtime.s
runtime.o: runtime.c runtime.h
$(CC) -g -fstack-protector-all -m32 -c runtime.c
clean:
$(RM) *.a *.o *~