Thank you for your help and sorry I forgot to write main earlier. An error showed me this:
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x20):...
Type: Posts; User: loaded
Thank you for your help and sorry I forgot to write main earlier. An error showed me this:
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start':
(.text+0x20):...
Sorry, I didn't understand. You mean I need to include all the .c? but I just need the .o of getch.c since the getanumber.c only use two functions from this source. Hum, the header calc.h declares...
I'm calling make from the getanumber dir.
Here's the tree:
├── atof_version
├── atof_version.c
├── atof_version.c~
├── bitwise
├── bitwise.c
Good evening. I can't link getch.o from /mainop to a makefile in /getanumber
make: *** No rule to make target `getch.o', needed by `maingetanumber'. Stop.