gtk Makefile error



Hi,

I try to execute the following makefile in gnome, i get errors.

/*Makefile:

CC = gcc

example:  example.c
      $(CC) `gtk-config --cflags` examples.c -o example `gtk-config --libs`

clean:
      rm -f *.o example

********end of makefile

i get errors like "CC:" is not found ro recognized, "clean:" is not found or recogized. ...

But when i compile it with gcc -Wall...  it works ok.

what is wrong?. what is the a good typical Makefile out there for a gtk compilation?.

thanx,
jm


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]