From: G DOT DegliEsposti AT ads DOT it To: djgpp AT delorie DOT com Message-ID: Date: Tue, 17 Feb 1998 09:16:18 +0100 Subject: Re: Makefile Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Precedence: bulk >I saw the posting about makefiles in the allegro list earlier today, and >decided to try and write my own for my game. I have run into troubles >though. Here is my makefile. > >luth: characte.cc file.cc graphics.cc messeng.cc monster.cc raikner.cc road.cc pit.cc >Makefile > gxx -o luth characte.o file.o graphics.o messeng.o monster.o raikner.o road.o pit.o >-lalleg > >characte.cc: characte.o > gxx -c characte.cc You have to write the opposite: file.exe: file1.o file2.o gxx -o file.exe file1.o file2.o -llibs file.o: file.cc gxx -c file.cc the makefile convention is: : ciao Giacomo