Date: Thu, 19 Sep 2002 05:37:26 +0100 (BST) From: =?iso-8859-1?q?shubha=20mr?= <shubha_mr@yahoo.com> To: freebsd-questions@FreeBSD.ORG Subject: makefile silly question. Message-ID: <20020919043726.89576.qmail@web14612.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi, I have the driver source .c files under /usr/src/sys/dev/mydriver/. If I put the .h files(for eg: mydriver.h) also in the same directory,then while includign them in the .c files,I do #include<dev/mydriver/mydriver.h>.It complies fine when I make it in the directory /usr/src/sys/modules/mydriver. what I am looking for is a way by which I can include mydriver.h as #include "mydriver.h".I can do this by a way as fllows. 1)put mydriver.h in /usr/src/sys/modules/mydriver. Is there any other way of accomplishing the same without putting the source .h files in the /usr/src/sys/modules/mydirver ?.Ie is there a way by which I can specify the incude direcory in the makefile? Right now my makefile looks very similar to /usr/src/sys/modules/em or /usr/src/sys/modules/xl . Thaks in advance, lots of regards shubha __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020919043726.89576.qmail>