mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 13:16:31 +00:00
🆕 运行文件系统中的二进制程序
This commit is contained in:
12
user/libs/libc/Makefile
Normal file
12
user/libs/libc/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
all: libc
|
||||
|
||||
CFLAGS += -I .
|
||||
|
||||
|
||||
libc: unistd.o fcntl.o
|
||||
|
||||
unistd.o: unistd.c
|
||||
gcc $(CFLAGS) -c unistd.c -o unistd.o
|
||||
|
||||
fcntl.o: fcntl.c
|
||||
gcc $(CFLAGS) -c fcntl.c -o fcntl.o
|
Reference in New Issue
Block a user