📄 makefile
字号:
## Makefile for the soundmodem device driver.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).## Note 2! The CFLAGS definitions are now inherited from the# parent makes..#O_TARGET := soundmodem.oO_OBJS := sm.oifeq ($(CONFIG_SOUNDMODEM_SBC),y)O_OBJS += sm_sbc.oendififeq ($(CONFIG_SOUNDMODEM_WSS),y)O_OBJS += sm_wss.oendififeq ($(CONFIG_SOUNDMODEM_AFSK1200),y)O_OBJS += sm_afsk1200.oendififeq ($(CONFIG_SOUNDMODEM_AFSK2400_7),y)O_OBJS += sm_afsk2400_7.oendififeq ($(CONFIG_SOUNDMODEM_AFSK2400_8),y)O_OBJS += sm_afsk2400_8.oendififeq ($(CONFIG_SOUNDMODEM_AFSK2666),y)O_OBJS += sm_afsk2666.oendififeq ($(CONFIG_SOUNDMODEM_HAPN4800),y)O_OBJS += sm_hapn4800.oendififeq ($(CONFIG_SOUNDMODEM_PSK4800),y)O_OBJS += sm_psk4800.oendififeq ($(CONFIG_SOUNDMODEM_FSK9600),y)O_OBJS += sm_fsk9600.oendifM_OBJS := $(O_TARGET)all: all_targets.PHONY: allgentbl: gentbl.c $(HOSTCC) -Wall $< -o $@ -lmTBLHDR := sm_tbl_afsk1200.h sm_tbl_afsk2400_8.h TBLHDR += sm_tbl_afsk2666.h sm_tbl_psk4800.hTBLHDR += sm_tbl_hapn4800.h sm_tbl_fsk9600.h$(TBLHDR): gentbl ./gentblfastdep: $(TBLHDR)include $(TOPDIR)/Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -