mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-23 20:33:23 +00:00
将makefile中的gcc字样用$(CC)环境变量代替
This commit is contained in:
@ -5,16 +5,16 @@ 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
|
||||
$(CC) $(CFLAGS) -c ktest.c -o ktest.o
|
||||
|
||||
bitree.o: test-bitree.c
|
||||
gcc $(CFLAGS) -c test-bitree.c -o test-bitree.o
|
||||
$(CC) $(CFLAGS) -c test-bitree.c -o test-bitree.o
|
||||
|
||||
kfifo.o: test-kfifo.c
|
||||
gcc $(CFLAGS) -c test-kfifo.c -o test-kfifo.o
|
||||
$(CC) $(CFLAGS) -c test-kfifo.c -o test-kfifo.o
|
||||
|
||||
mutex.o: test-mutex.c
|
||||
gcc $(CFLAGS) -c test-mutex.c -o test-mutex.o
|
||||
$(CC) $(CFLAGS) -c test-mutex.c -o test-mutex.o
|
||||
|
||||
idr.o: test-idr.c
|
||||
gcc $(CFLAGS) -c test-idr.c -o test-idr.o
|
||||
$(CC) $(CFLAGS) -c test-idr.c -o test-idr.o
|
Reference in New Issue
Block a user