i have this makefile below and in it my includes are
gtk/gtk.h
and
webkit/webkit.h
but when i try to build the project using the make command i have the errors
error: gtk/gtk.h: No such file or directory
error: webkit/webkit.h: No such file or directory
in case the gtk+-2.0.pc and webkit...pc are in the usr/lib/pkgconfig
Make File:
CC=gcc
CFLAGS=-g -Wall `pkg-config --cflags gtk+-2.0 webkit-1.0`
LDFLAGS+=`pkg-config --libs gtk+-2.0 webkit-1.0`
INCLUDE=/usr/include
LIB=/usr/lib
SOURCES=wrapper.c wrapper.h browser.c
OBJ=browser
all: $(SOURCES) $(OBJ)
$(OBJ): $(SOURCES)
$(CC) $(CFLAGS) $(LDFLAGS) -I $(INCLUDE) -L $(LIB) $(SOURCES) -o $(OBJ)
clean:
rm -rf $(OBJ)