From owner-freebsd-questions Wed Sep 18 21:40:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA20137B401 for ; Wed, 18 Sep 2002 21:40:47 -0700 (PDT) Received: from mail.au.darkbluesea.com (mail.au.darkbluesea.com [203.185.208.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7686D43E65 for ; Wed, 18 Sep 2002 21:40:45 -0700 (PDT) (envelope-from d.anker@au.darkbluesea.com) Received: (qmail 9105 invoked by uid 82); 19 Sep 2002 04:39:40 -0000 Received: from unknown (HELO ?10.0.0.188?) (10.0.0.188) by bugtrack.au.darkbluesea.com with SMTP; 19 Sep 2002 04:39:40 -0000 Subject: Re: makefile silly question. From: Duncan Anker To: shubha mr Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20020919043726.89576.qmail@web14612.mail.yahoo.com> References: <20020919043726.89576.qmail@web14612.mail.yahoo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 19 Sep 2002 14:39:00 +1000 Message-Id: <1032410341.30308.3.camel@duncan> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 2002-09-19 at 14:37, shubha mr wrote: mydriver.h) also in the > same directory,then while includign them in the .c > files,I do #include.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 > Add to your CFLAGS: -I/path/to/my/include/directory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message