From: yin tan cui Newsgroups: comp.os.msdos.djgpp Subject: how to include my own library? Date: Sat, 14 Jun 1997 22:06:13 +1100 Organization: UNSW Lines: 22 Message-ID: <33A27B25.652D@student.unsw.edu.au> Reply-To: z2191317 AT student DOT unsw DOT edu DOT au NNTP-Posting-Host: 129.94.15.23 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk recently I have wrote an ADT library( about 15 files ) for myself. I compiled it and got "libadt.a" placed into djgpp\lib. and I have placed all the library files into a directory called "adtlib" inside the directory djgpp\include. the problem is that every time I need to include these files, I have to do #include "c:\djgpp\include\adtlib\adtlib.h" Is there a way so that I can just do #include "adtlib.h" to get the job done. I can do this in my linux mechine by putting these lib files into /usr/local/include/ I think I need to edit the file "djgpp.env", but I'm not sure EXACTLY what to do? can anyone tell me what I should do or there is no way of achieving this. thanks.