T
Travis
I'm not a Makefile expert. I have a real small program (just a
main.cpp) that needs to tie into an existing library. Now other
programs I've seen that use the library just do #include "Library.h"
but and that works. Of course that doesn't work for me because when I
do g++ main.cpp -o prog, it has no idea what to do with Library.h. I
take a look at the other people's make files and it's absolute voodoo
to me.
So is there an easy way to write my makefile to use that library? so
doing #include "Library.h" compiles? Thanks.
main.cpp) that needs to tie into an existing library. Now other
programs I've seen that use the library just do #include "Library.h"
but and that works. Of course that doesn't work for me because when I
do g++ main.cpp -o prog, it has no idea what to do with Library.h. I
take a look at the other people's make files and it's absolute voodoo
to me.
So is there an easy way to write my makefile to use that library? so
doing #include "Library.h" compiles? Thanks.