Mon 14 Oct 23:14:00 CEST 2024
This commit is contained in:
parent
1e2772c720
commit
3b8405a023
14
library/Makefile
Normal file
14
library/Makefile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
include ../Makefile.config
|
||||||
|
|
||||||
|
LIBRARY_OBJECTS=errno.o syscall.o syscalls.o string.o stdio.o stdlib.o malloc.o kernel_object_string.o nwindow.o
|
||||||
|
|
||||||
|
all: user-start.o baselib.a
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
${CC} ${KERNEL_CCFLAGS} -I ../include $< -o $@
|
||||||
|
|
||||||
|
baselib.a: ${LIBRARY_OBJECTS}
|
||||||
|
${AR} rv $@ ${LIBRARY_OBJECTS}
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf *.a *.o
|
Loading…
Reference in New Issue
Block a user