Makefile
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
- #
- # 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.o
- obj-y := sm.o
- obj-$(CONFIG_SOUNDMODEM_SBC) += sm_sbc.o
- obj-$(CONFIG_SOUNDMODEM_WSS) += sm_wss.o
- obj-$(CONFIG_SOUNDMODEM_AFSK1200) += sm_afsk1200.o
- obj-$(CONFIG_SOUNDMODEM_AFSK2400_7) += sm_afsk2400_7.o
- obj-$(CONFIG_SOUNDMODEM_AFSK2400_8) += sm_afsk2400_8.o
- obj-$(CONFIG_SOUNDMODEM_AFSK2666) += sm_afsk2666.o
- obj-$(CONFIG_SOUNDMODEM_HAPN4800) += sm_hapn4800.o
- obj-$(CONFIG_SOUNDMODEM_PSK4800) += sm_psk4800.o
- obj-$(CONFIG_SOUNDMODEM_FSK9600) += sm_fsk9600.o
- obj-m := $(O_TARGET)
- all: all_targets
- .PHONY: all
- gentbl: gentbl.c
- $(HOSTCC) $(HOSTCFLAGS) $< -o $@ -lm
- TBLHDR := sm_tbl_afsk1200.h sm_tbl_afsk2400_8.h
- TBLHDR += sm_tbl_afsk2666.h sm_tbl_psk4800.h
- TBLHDR += sm_tbl_hapn4800.h sm_tbl_fsk9600.h
- $(TBLHDR): gentbl
- ./gentbl
- fastdep: $(TBLHDR)
- include $(TOPDIR)/Rules.make