Mail Archives: djgpp/1999/03/09/16:13:55
Hi,
I am copiling template class called stack.cpp
and test.cpp uses stack class.
which means test.o have to be dependent on not only test.cpp and stack.h but stack.o too...
like:
test.o: test.cpp stack.h stack.o
and the following command is used for unix machine.
cxx -c -g -w0 test.cpp
but how am i supposed to let the DJGPP compiler know this kind of dependency ?
the following is the whole makefile for the unix machine:
stack_test: test.o stack.o
cxx -g -w0 -o stack_test test.o stack.o
test.o: test.cc stack.h stack.o
cxx -c -g -w0 test.cc
stack.o: stack.h stack.cc
cxx -c -g -w0 stack.cc
thanks alot..
---
^^^^^
(.) (.)
)---(
Get your FREE Email at http://mailcity.lycos.com
Get your PERSONALIZED START PAGE at http://personal.lycos.com
- Raw text -