PDA

View Full Version : Basic gcc Makefile Question



jerryyyyyy
11-26-2008, 11:48 PM
This is not an OpenGL question but could someone direct me to the right forum. I have some OpenGL code that I have to move to a new Linux machine. Suddenly the old Makefile no longer works and I get the error "make: **no rule to make target 'Makefile.dependencies', needed by 'depend'."

Any suggestions?

This is the part of the Makefile:

depend:: Makefile.dependencies $(SRCS) $(HDRS)

Makefile.dependencies:: $(SRCS) $(HDRS) $(CC) $(CFLAGS) $(INCDIR) -MM $(SRCS) > Makefile.dependencies

-include Makefile.dependencies

Everytime I move this code it is an adventure....