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


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to