I have just come from Linux and I am trying to set up the Palm OS Developer Suite in
Windows XP. When I try to make the sample code, I get: ***[clean] Error1
which looks to me as if "rm" can't be found.
I am including the sample code and makefile. What am I doing wrong?
--------------------------------------------------------------------
main.cpp
--------------------------------------------------------------------
int main () {
// Say Hello five times
for (int index = 0; index < 5; ++index)
cout << "HelloWorld!" << endl;
char input = 'i';
cout << "To exit, press m" << endl;
while(input != 'm') {
cin >> input;
cout << "You just entered " << input
<< " you need to enter m to exit." << endl;
}
exit(0);
}
--------------------------------------------------------------------
makefile
--------------------------------------------------------------------
all: hello.exe
clean:
rm main.o hello.exe
hello.exe: main.o
g++ -g -o hello main.o
main.o:
g++ -c -g main.cpp
--------------------------------------------------------------------
error
--------------------------------------------------------------------
***[clean]Error1
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/