makefile question

From: Mockern
Date: Tue May 01 2007 - 08:39:13 EST


Hi,

I have a question about Makefile for my drivers.

I have 4 idedntical drivers, there are only 2 differences: major and minor numbers of each driver.

How can I build 4 drivers from one source file? Could you give me an example of Makefile?

Thank you,

Andy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/