mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-14 03:46:47 +00:00
* 增加了idr模块 * 增加了IDR模块,并尝试覆盖上一个错误版本. * 增加了IDR模块 * 完善了注释内容 * 修改了test-idr.c文件 * 进一步完善函数注释 Signed-off-by: guanjinquan <1666320330@qq.com> Co-authored-by: fslongjin <longjin@RinGoTek.cn>
20 lines
392 B
Makefile
20 lines
392 B
Makefile
|
|
CFLAGS += -I .
|
|
|
|
|
|
all: ktest.o bitree.o kfifo.o mutex.o idr.o
|
|
|
|
ktest.o: ktest.c
|
|
gcc $(CFLAGS) -c ktest.c -o ktest.o
|
|
|
|
bitree.o: test-bitree.c
|
|
gcc $(CFLAGS) -c test-bitree.c -o test-bitree.o
|
|
|
|
kfifo.o: test-kfifo.c
|
|
gcc $(CFLAGS) -c test-kfifo.c -o test-kfifo.o
|
|
|
|
mutex.o: test-mutex.c
|
|
gcc $(CFLAGS) -c test-mutex.c -o test-mutex.o
|
|
|
|
idr.o: test-idr.c
|
|
gcc $(CFLAGS) -c test-idr.c -o test-idr.o
|