📄 makefile
字号:
BIN2C = ../tools/bin2cCFLAGS += -I..AFLAGS += -I..OBJ = head.o main.o tftp.o eth.o arp.o mac.o utils.o \ skbuff.o ip.o udp.o tftpput.o bioscall.o console.oall: ../tftp.c../tftp.c: tftp.bin.gz $(BIN2C) -c -s tftp_data tftp.bin.gz ../tftp.ctftp.bin.gz: tftp.bin $(ZIP) -c tftp.bin > tftp.bin.gztftp.bin: tftp $(OBJCOPY) -O binary --only-section=.init \ --only-section=.text \ --only-section=.rodata \ --only-section=.data \ --only-section=.bss tftp \ tftp.bintftp: $(OBJ) $(LD) -p -X -T tftp.ld $(OBJ) \ -o tftputils.o: ../utils.c $(CC) $(CFLAGS) -c -o utils.o ../utils.cconsole.o: ../console.c $(CC) $(CFLAGS) -c -o console.o ../console.cbioscall.o: ../bioscall.c $(CC) $(CFLAGS) -c -o bioscall.o ../bioscall.cclean: $(RM) -rf *.o tftp tftp.bin tftp.bin.gz ../tftp.c%.o: %.c $(CC) $(CFLAGS) -c -o $@ $<%.o: %.S $(CC) $(AFLAGS) -c -o $@ $<
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -