Re: trouble with make
- From: Sean Cody <umcodysw cc UManitoba CA>
- To: "Jack M." <msg124 hotmail com>
- Cc: gtk-list gnome org
- Subject: Re: trouble with make
- Date: Tue, 3 Oct 2000 00:58:14 -0500 (CDT)
Here is a better one...
CFLAGS= `gtk-config --cflags`
LIBS= `gtk-config --libs`
CC=gcc
arrow:arrow.o
$(CC) -o arrow arrow.o $(LIBS)
arrow.o:arrow.c
$(CC) $(CFLAGS) -c arrow.c
clean:
rm -rf arrow *.o
->Hi,
->
->This is the content of my Makefile:
->CC == gcc
->arrow : arrow.c
-> $(CC) `gtk-config --cflags` arrow.c -o arrow `gtk-config --libs`
->
->clean:
-> 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
->make clean
->make install
->make arrow
->
->does not want to work.
->
->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.
->
->
->_______________________________________________
->gtk-list mailing list
->gtk-list gnome org
->http://mail.gnome.org/mailman/listinfo/gtk-list
->
--
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]