I was hoping someone could figure out my error in my makefile.
I keep getting this error:
../lib/gtk.h:4:22: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
I think the error might be in my makefile, here is my makefile. If anyone can spot why this happening please let me know. I am using the command make test when i get this error.
Code:
#
# makefile for gtk
#
ARG = `pkg-config --cflags --libs gtk+-2.0`
RM = rm -f
SRC = no.c night.c exit_event.c destroy.c delete_event_exit.c delete_event.c day.c main.c
OBJ = $(SRC:.c=.o)
TESTNAME = test
TESTSRC = main.c
TESTOBJ = $(TESTSRC:.c=.o)
#
clean:
-$(RM) *.o
-$(RM) *~
-$(RM) \#*
-$(RM) *.core
fclean: clean
-$(RM) $(TESTNAME)
re: fclean
test: $(TESTOBJ)
cc $(TESTSRC) -o $(TESTNAME) $(ARG)