marcux 0 Light Poster

Hello all!
I have exactly the same problem as in stackoverflow:

http://stackoverflow.com/questions/6442550/problem-with-makefile-and-gtkmm

There they don't find any solution, so I hope you can help me.
The problem is that when I compile in my terminal with:
g++ main.cpp -o output `pkg-config --cflags --libs gtkmm-2.4`
The compilation goes fine.
When I write it in my makefile I get the error that it
can not find Gtkmm, and I can see that make writes the same command
in the terminal.
The only thing I have done is to put include <gtkmm.h> into my file.
If I run pkg-config --cflags in terminal /use/include/gtkmm-2.4 exists
In the answer I get back.
What is the problem?
What to do?
Many thanks in advance!
Marcux

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.