Re: trouble with make

Here is a better one...

CFLAGS= `gtk-config --cflags`
LIBS= `gtk-config --libs`
	$(CC) -o arrow arrow.o $(LIBS)

	$(CC) $(CFLAGS) -c arrow.c

	rm -rf arrow *.o

->This is the content of my Makefile:
->CC == gcc
->arrow : arrow.c
->       $(CC) `gtk-config --cflags` arrow.c -o arrow `gtk-config --libs`
->       rm -f *.o arrow
->arrow.c is the name of my source file.
->when i type "make" and hit enter to i get the ***No target . stop"...or when 
->i type "make arrow".. or "make a.out"
->.. i get the error "not rule to make target `a.out',....
->what is the correct synatx for the make command?.
->I do:
->make clean
->make install
->make arrow
->does not want to work.
->Get Your Private, Free E-mail from MSN Hotmail at
->Share information about yourself, create your own public profile at 
->gtk-list mailing list
->gtk-list gnome org

Sean Cody (aka NullStream) 
umcodysw cc umanitoba ca (SCHOOL)
null fuzyscsi dhs org     (HOME)

"If God's my witness then God must be blind."
	Garbage - As Heaven Is Wide

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