Hello and welcome to the GTK+ forums.
rlp1938 wrote:
Here is my makefile:
all:
gcc -Wall $(pkg-config --cflags gtk+-2.0) -o statusbar.o -c statusbar.c
gcc -Wall $(pkg-config --libs gtk+-2.0) -o statusbar -c statusbar.o
I don't think make understands $() notation. You should probably use backticks or $(shell ) notation. Your example code should look somewhat like this:
Code:
all:
gcc -Wall $(shell pkg-config --cflags gtk+-2.0) -o statusbar.o -c statusbar.c
gcc -Wall $(shell pkg-config --libs gtk+-2.0) -o statusbar statusbar.o
Cheers,
Tadej