Thank you for your answer @JonB .
Okay, I was making some test and I can’t make it work. I tried:
- Duplicating de .h and changing its name to .o, then linking it to the .m (both of them .h and .o). But I have a dublicated symbol error. I got the same error linking the .o to the .h.
- Replacing the .h for a .o and linking it to the .m but I get the same link error.
- Making a .o for every undefined symbol of the error and linking it to the .m. I got the same error (I think I don’t remember, but it was an error)
What am I doing wrong? Where to link it? Thank you for your time by the way.
PD: I’m not compiling it in Xcode because I don’t a have a Mac, and if I could make this make file to work it will be awesome