ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Retro Gaming Hacks, Part 1: Clone Pong, Using Only SDL (and Your Brain)
Subject:   Mac OS X additions
Date:   2005-12-20 18:50:12
From:   miggins
If you are trying to follow along on Mac OS X, using the fink install of SDL, just add the following to your gcc options when building:


-lSDLmain -framework Cocoa