Message-ID: <9074E89DACDDD2119C4D00805FEDBE8921848A@ormail1.orckit.com> From: Ephraim Ben-Ishai To: djgpp AT delorie DOT com Subject: make file Date: Thu, 13 May 1999 08:29:13 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-8" Reply-To: djgpp AT delorie DOT com hello I want to make a general rule that will apply to all .o files. My makefile is in the following format. OBJ = obj1.0 obj2.0 obj3.o include obj1.d include obj2.d include obj3.d #the obove files were create with GCC using the -MMD swich foo: $(OBJ) echo load obj1 > b echo load obj2 >>b echo load obj3 >>b etc # I need a general rul that will compile all the obj and check there dependencies. # ? .o : $(CC) ......