Xref: news2.mv.net comp.os.msdos.djgpp:3098 From: amason AT cs DOT uct DOT ac DOT za (Ashton Mason) Newsgroups: comp.os.msdos.djgpp Subject: Re: Get ready to through the book at me :) .... Date: 24 Apr 1996 10:33:09 GMT Organization: University of Cape Town Lines: 23 Message-ID: <4ll015$lbj@groa.uct.ac.za> References: <199604220820 DOT SAA00278 AT linuxbox DOT nse DOT com DOT au> <317B9388 DOT 5D7B6421 AT alcyone DOT com> NNTP-Posting-Host: inky.cs.uct.ac.za To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In <317B9388 DOT 5D7B6421 AT alcyone DOT com> Erik Max Francis writes: >root wrote: >> # gnu makefile >> all : hello.exe >> >> hello.exe : hello.cc >> gcc -O2 hello.cc -o hello.exe > ^^^^^^^^ >Are you sure that this is a tab? In makefiles, you can't use any old >whitespace as a separator; it must be a tab. Also, look for extra whitespace at the end of the first line 'hello.exe : hello.cc'. I've seen that cause problems as well, I think. Ash -- "how can all these things be true?" amason AT cs DOT uct DOT ac DOT za http://www.cs.uct.ac.za/~amason