1# 2# Makefile for the Zorro bus specific drivers. 3# 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). 7# 8# Note 2! The CFLAGS definition is now inherited from the 9# parent makefile. 10# 11 12O_TARGET := driver.o 13 14export-objs := zorro.o 15 16obj-$(CONFIG_ZORRO) += zorro.o names.o 17obj-$(CONFIG_PROC_FS) += proc.o 18 19include $(TOPDIR)/Rules.make 20 21names.o: names.c devlist.h 22 23devlist.h: zorro.ids gen-devlist 24 ./gen-devlist <zorro.ids 25 26gen-devlist: gen-devlist.c 27 $(HOSTCC) $(HOSTCFLAGS) -o gen-devlist gen-devlist.c 28