help-make
[Top][All Lists]
Advanced

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

Makefile macros not working


From: piettguard-maxima
Subject: Makefile macros not working
Date: Tue, 26 Jun 2007 20:40:41 +0000 (GMT)

I'm trying to use macros in this simple project:
 
.cpp.obj:     

    g++ $? -o $@

 
Battle: Battle.obj

    g++ $? -o $@

 
all: Battle

But the response of make is :
make: *** No rule to make target `Battle.obj', needed by `Battle'.  Stop.

How can I use macros?
Thanks
Daniele






      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]