advertisement

Article:
  Developing in OpenGL Using Makefiles
Subject:   Makefiles and TABS
Date:   2005-04-05 15:44:31
From:   John_Blommers
Makefiles need TABS in certain places. A copy and paste from a web pages loses the TABS. A TAB is needed right in front of the line starting with $(CC) and in front of the line starting with ./GlutExample like so:


<TAB>$(CC) $(FRAMEWORK) $(CFLAGS) -o $@ $(LIBPATH) $(LIBRARIES) $(OBJECTS)


and


<TAB>./GlutExample


Also be sure to put $(LIBRARIES) in the CC line.


Ahh now it works fine here, and thanks for the nice references in the article.


Note to author - please provide links to all files you show.