I am attempting to create a cross platform open source C code library
and would like to do my development using Xcode. But since Xcode does
not run on other OSes I will not be able to give my "customers" the
Xcode project file. Instead I want to create autoconf style
makefiles. Does Xcode support this? If so, will it generate the basic
files for me?
Yes and no. An Xcode project can include a makefile-based target, and
it uses the make mechanism to do the building. (In that case you
don't get certain features of the Xcode build system.) Just choose
"External Build System" from the New Project dialog.
The "no" is that Xcode won't write a makefile for you. You still have
to create the makefile the old-fashioned way.
It IS possible to write the makefile in such a way that it is
automatically updated if the Autoconf source changes:
Makefile: configure
./configure
configure: $(autoconfsource)
autoconf $(autoconfoptions) $(autoconfsource)
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden