Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-platform Linux/OS X Development w/ SDL



This is a very poor Makefile since I really should be building the object files separately but I'm not quite sure how to because of the .m file:

all:
g++ -I/Library/Frameworks/SDL.framework/Headers -I/System/Library/Frameworks/OpenGL.framework/Headers Camera.cpp Main.cpp Road.cpp Skybox.cpp Util.cpp Terrain.cpp SDLmain.m -framework SDL -framework OpenGL -framework Cocoa


clean:
	@echo Cleaning up...
	@rm a.out
	@echo Done.

On Apr 25, 2005, at 1:14 AM, Greg Coats wrote:

I am in a similar position as you in that I develop open source Unix software that is compiled via configure and make under Linux and Mac OS X. So far, I have not been able to use the Apple Mac OS X Xcode environment. How did you setup your configure and make files for Xcode?
Greg Coats


On Apr 24, 2005, at 11:15 PM, Achal Oza wrote:

Hi,

I'd like to thank all of your for your help. I was able to get everything running with my Makefile and for the fun of it, setup everything to work as an xcode project as well (which so far is a pretty cool IDE).

And just to explain, all the other developers in my lab are using Linux so I want the ability to quickly port my project over to that environment and figured Makefiles were my best bet.

Now I can get back to focusing on the fun OpenGL aspect. Oh and if anyone is curious, my project is the of modeling road systems at Catmull-Rom splines. I'm setting it up so you can easily create multilane highways, intersections, hills, banks, autonomous vehicles, etc.

Thanks again,
Achal

_______________________________________________ Do not post admin requests to the list. They will be ignored. Mac-opengl mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Re: Cross-platform Linux/OS X Development w/ SDL (From: "E. Wing" <email@hidden>)
 >Re: Cross-platform Linux/OS X Development w/ SDL (From: Achal Oza <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.