2 # Makefile for the Zorro bus specific drivers.
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 inherited from the
14 export-objs := zorro.o
16 obj-$(CONFIG_ZORRO) += zorro.o names.o
17 obj-$(CONFIG_PROC_FS) += proc.o
19 include $(TOPDIR)/Rules.make
21 names.o: names.c devlist.h
23 devlist.h: zorro.ids gen-devlist
24 ./gen-devlist <zorro.ids
26 gen-devlist: gen-devlist.c
27 $(HOSTCC) $(HOSTCFLAGS) -o gen-devlist gen-devlist.c