Hi guys:
I have one urgent question to ask, please help me on this! The following is a Makefile template for device driver with all sources codes locating in the same directory. My question is how to write the Makefile when the driver source codes located different directories. For example, my driver source codes maybe include: osd/*.c engine/*.c and cam/*.c. Could someone provide me such a Makefile template? Your help will be highly appreciated! .PATH: . KMOD = shasta SRCS = shasta.c event.c . SRCS += device_if.h bus_if.h pci_if.h SRCS += opt_scsi.h opt_cam.h .... .include <bsd.kmod.mk> Yours, Hong _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"