Hello everybody, I have a problem with makefile. When I type make, the result is: ------------- tig...@tigran-laptop:~/Documents/MakeFile/sample$ make g++ main.cpp hello.cpp factorial.cpp -o hello main.cpp:1:22: error: iostream.h: No such file or directory main.cpp: In function ‘int main()’: main.cpp:6: error: ‘cout’ was not declared in this scope main.cpp:6: error: ‘endl’ was not declared in this scope hello.cpp:1:22: error: iostream.h: No such file or directory hello.cpp: In function ‘void print_hello()’: hello.cpp:5: error: ‘cout’ was not declared in this scope make: *** [all] Error 1 ------------- Could you help me. Thanks.
_______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make