From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: says it doesn't know how to build Date: 22 May 2001 10:18:09 GMT Organization: Aachen University of Technology (RWTH) Lines: 18 Message-ID: <9eded1$gv0$1@nets3.rz.RWTH-Aachen.DE> References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 990526689 17376 137.226.32.75 (22 May 2001 10:18:09 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 22 May 2001 10:18:09 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Wayne Reynolds wrote: > I'm having a problem here...... I try to build a program that includes a > header file called allegro.h and when i try to compile it gives me the error > "Don't know how to build allegro.o from allegro.h" any body have any > suggestions? It shouldn't ever be trying to build allegro.o, in the first place. This is a typical error caused by a misconception about how makefiles or RHIDE projects are supposed to be composed. In particular, you should *never* have to include a .h file into the list of sources of an RHIDE project. Neither should it occur among the list of dependencies for an executable file or library, in a Makefile. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.