命令如下
(1)
Network:Subrs.o network.o
gcc Subrs.o network.o -o Network
Subrs.o:Subrs.c Netdefs.h
gcc -c Subrs.c
network.o:network.c Netdefs.h
gcc -c network.c
clean:
rm *.o
(2)
object=Subrs.o network.o
Network:$(object)
$(CC) -o $@ $(object)
clean:
rm *.o
(3)
make
make clean
linux作业题
最新推荐文章于 2024-10-30 13:57:55 发布