> Date: Sun, 10 Mar 2013 17:35:59 -0400
> From: Jim Crews <email@example.com>
> BUT, from everything I've read in this thread I understand that a makefile
> with a single line as follows:
> graphictest: graphictest.o c:\GTK\include\gtk-2.0\gtk
> SHOULD work, yes?
Yes. If you want graphictest the program to depend on gtk.h header
> The good news is that running it doesn't generate the
> "multiple target patterns" error but it does generate the "No such file or
> directory" error. Now even I can figure out what that's supposed to mean,
> but the file I'm trying to include in my C program (#include <gtk.h>) IS in
> that directory. Am I still doing something wrong here?
file, you need to tell precisely that to Make, like this:
graphictest: graphictest.o c:\GTK\include\gtk-2.0\gtk\gtk.h
IOW, the prerequisite is the header file, not its parent directory.
(I hope I understood correctly what is the full name of that header
file; if not, adjust the file name accordingly.)