> From: Achal Oza
> 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:
You can create object files with .m files just as you do with .c and .cpp files.
.m is an Objective-C file. Objective C is a pure superset of C so it
has interesting properties.
Then in the link stage of your make file, just list the object file
like all your others. As long as you remember to also link -framework
Cocoa, everything should link correctly.
-Eric
_______________________________________________
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