delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/29/01:54:38

Message-ID: <38BB597F.22B13248@caresystems.com.au>
Date: Tue, 29 Feb 2000 15:30:39 +1000
From: leon <Leon AT caresystems DOT com DOT au>
X-Mailer: Mozilla 4.7 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: writing your own makefiles
References: <20000226 DOT 001348 DOT -398121 DOT 2 DOT roberts DOT j DOT whitlock AT juno DOT com> <38B927C8 DOT EE0D58ED AT bigfoot DOT com>
Reply-To: djgpp AT delorie DOT com

	Hello everyone

	at present i am writing my own make files and i happne to like it a lot
;-)

	just have a simple question: currently when i add an included header
file to my source code file, i hand write corresponding dependancyy in
the makefile
eg

test.cpp
usually dependant on test.h
but then in test.cpp text i include "test2.h"
so then i go and manually write one more depend. for test.cpp namely the
test2.h

	The question is - is there anyway for make to automate such a process -
or is it considered to be in the domain of the IDE responsibilities?

	With best regards - Leon.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019