Gustavo Sverzut Barbieri wrote: > On Sat, Aug 9, 2008 at 2:25 AM, Vikram Noel Ambrose > <[EMAIL PROTECTED]> wrote: > >> Here is a little Makefile i wrote really quickly to build the basic libs >> from the help page >> http://wiki.enlightenment.org/index.php/E17_User_Guide/Installing_Using_CVS >> >> Pretty simple except for the chain rule bit. It would be nice to have >> something like this in the trunk for the n00b to use when building e17. >> >> Put it anywhere you like, even /tmp and edit the SRCDIR path in it, and just >> hit "make" and you should have a nice build. >> > > Man, this is really awesome! > > I have my custom shell script to do the build, but as you might guess > it's stupid and it doesn't do any dependency tracking at all, I must > use the build order to achieve that, also no track of timestamps, > which make it even stupid. Using makefiles is the way to go. > > Some remarks to make it even better: > - you compile just libs, but maybe it would be a good idea to make > it more generic and compile also apps (e comes to mind)? > - make defaults more "intelligent", like lib or lib64, use current > makefile folder for source dir. > - make logging per lib/project. In my own scripts I log to > /tmp/build_${USER}_${PROJECT}.{err,out} and this helps having a clear > overview of the build progress (which lib is building now) and also to > later check the error, since it's already saved in the logs of that > single project. > > Let's add it to repository? > > Yup, this was just a proof of concept sort of thing. A lot of cool stuff can be added to it.
I'd like to see it in the repository. Please raster man :) Vikram ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
