Message-ID: <360D7788.118F3D41@geocities.com> From: Sahab Yazdani MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: MAKEFILE Problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 32 Date: Sat, 26 Sep 1998 18:23:52 -0500 NNTP-Posting-Host: 209.148.139.78 NNTP-Posting-Date: Sat, 26 Sep 1998 18:33:00 EDT Organization: Sprint Canada Inc. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm having enourmous amounts of problems trying to compile my programs using the MAKE command of DJGPP! My makefile looks something like this: Now I'm rather new to the field of MAKE so I just want to make sure that this is the right method of doing it: // (Not part of code) Will attempt to compile gamelib.a from object.o (if object.o is new) gamelib.a : object.o ar rcs gamelib.a object.o // (Not part of code) if object.o is old it will re-compile! object.o : object.cc gcc -g -c object.cc -o object.o Now after typing MAKE at the command prompt I get the message: makefile:2: *** missing separator. Stop. Can anybody help me get my makefile working properly PS. Does the name of the file have to be: MAKEFILE? -- ********************************************************************** * Sahab Yazdani * Those who look wise among the * * Thornhill Secondary School * Foolish, look foolish amoung the wise * ********************************************************************** * http://www.geocities.com/TimesSquare/Bunker/8994/index.html * * Click the link to visit my portion of The Neverhood * **********************************************************************