⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 An implementation of the TCP/IP protocol suite for the LINUX operating system. INET is implemented u
💻
字号:
1 #
  2 # Makefile for the Linix TCP/IP (INET) layer.
  3 #
  4 # Note! Dependencies are done automagically by 'make dep', which also
  5 # removes any old dependencies. DON'T put your own dependencies here
  6 # unless it's something special (ie not a .c file).
  7 #
  8 # Note 2! The CFLAGS definition is now in the main makefile...
  9 
 10 .c.o:
 11         $(CC) $(CFLAGS) -c -o $*.o $<
 12 .s.o:
 13         $(AS) -o $*.o $<
 14 .c.s:
 15         $(CC) $(CFLAGS) -S -o $*.s $<
 16 
 17 
 18 OBJS    = sock.o utils.o route.o proc.o timer.o protocol.o loopback.o \
 19           eth.o packet.o arp.o dev.o ip.o raw.o icmp.o tcp.o udp.o \
 20           datagram.o skbuff.o
 21 #         ipx.o ax25.o ax25_in.o ax25_out.o ax25_subr.o ax25_timer.o
 22 
 23 ifdef CONFIG_INET
 24 
 25 inet.o:         $(OBJS)
 26                 $(LD) -r -o inet.o $(OBJS)
 27 
 28 else
 29 
 30 inet.o:
 31                 echo | $(AS) -o inet.o
 32 
 33 endif
 34 
 35 dep:
 36                 $(CPP) -M *.c > .depend
 37 
 38 tar:
 39                 tar -cvf /dev/f1 .
 40 
 41 #
 42 # include a dependency file if one exists
 43 #
 44 ifeq (.depend,$(wildcard .depend))
 45 include .depend
 46 endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -