Re: Make things it's time to link when it should compile

2006-01-20 Thread Eric Lilja
Igor Peshansky wrote: > On Fri, 20 Jan 2006, Eric Lilja wrote: > >> Hello, I'm having trouble with make for one simple program. >> [EMAIL PROTECTED] ~/coding/C/extract_acodes >> $ ls -al >> total 33K >> drwxrwxrwx+ 2 mikael None0 Jan 20 22:15 ./ >> drwxrwxrwx+ 22 mikael None0 Dec 7 16:12

Re: Make things it's time to link when it should compile

2006-01-20 Thread Igor Peshansky
On Fri, 20 Jan 2006, Igor Peshansky wrote: > For that reason, the "-o" option usually isn't part of CFLAGS. Aside from > fixing the typo, I'd rewrite your Makefile as follows: > > $ cat Makefile > CC = gcc > CFLAGS = -Wall -W -ansi -pedantic -g -O0 > LDFLAGS = > EXEC = extract_acodes.exe > OBJECT

Re: Make things it's time to link when it should compile

2006-01-20 Thread Igor Peshansky
On Fri, 20 Jan 2006, Eric Lilja wrote: > Hello, I'm having trouble with make for one simple program. > [EMAIL PROTECTED] ~/coding/C/extract_acodes > $ ls -al > total 33K > drwxrwxrwx+ 2 mikael None0 Jan 20 22:15 ./ > drwxrwxrwx+ 22 mikael None0 Dec 7 16:12 ../ > -rwxrwxrwx 1 mikael Non

Make things it's time to link when it should compile

2006-01-20 Thread Eric Lilja
Hello, I'm having trouble with make for one simple program. [EMAIL PROTECTED] ~/coding/C/extract_acodes $ ls -al total 33K drwxrwxrwx+ 2 mikael None0 Jan 20 22:15 ./ drwxrwxrwx+ 22 mikael None0 Dec 7 16:12 ../ -rwxrwxrwx 1 mikael None 264 Oct 14 13:54 Makefile* -rw-r--r-- 1 mikael No