Sorry, I forgot I recently upgraded to 10.0 CE… J

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manaxus
Sent: Monday, November 08, 2004 9:06 PM
To: [EMAIL PROTECTED]
Subject: [newbie] Help with a makefile

 

Hello I am running Mandrake 9.1 and I am trying to run a makefile.

 

Here is the text of the file named Makefile1:

 

# adding macros

all: myapp

 

# determine the compiler

CC=gcc

 

#include directories

INCLUDE=.

 

#Debug build options

CFLAGS=-g –Wall –ansi

 

$(CC) –I$(INCLUDE) $(CFLAGS) –c main.c

 

 

<eof>

 

Now the error I get when I execute the command: make –f Makefile1

is Makefile1:16: *** missing separator. Stop.

 

If I expand the macros in the makefile I get the same error. If I execute the line by itself on the command line everything works as expected. I am at a loss as to why it is failing the way it is.

 

Can anyone help me out?

 

Thanks,

-jdix

Reply via email to