- Linus: drop support for old-style Makefiles entirely. Big.
[davej-history.git] / net / irda / ircomm / Makefile
blobfe0a6a8306c760bfc897d92a73e6bf193ddb55fa
2 # Makefile for the Linux IrDA IrCOMM protocol layer.
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).
8 # Note 2! The CFLAGS definition is now in the main makefile...
10 O_TARGET := ircomm_and_tty.o
12 multi-objs := ircomm.o ircomm-tty.o
13 ircomm-objs := ircomm_core.o ircomm_event.o ircomm_lmp.o ircomm_ttp.o
14 ircomm-tty-objs := ircomm_tty.o ircomm_tty_attach.o ircomm_tty_ioctl.o ircomm_param.o
16 obj-$(CONFIG_IRCOMM) += ircomm.o ircomm-tty.o
18 include $(TOPDIR)/Rules.make
20 ircomm.o: $(ircomm-objs)
21 $(LD) $(LD_RFLAG) -r -o $@ $(ircomm-objs)
23 ircomm-tty.o: $(ircomm-tty-objs)
24 $(LD) $(LD_RFLAG) -r -o $@ $(ircomm-tty-objs)