Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » The power of Makefile
Re: The power of Makefile [message #25841 is a reply to message #24947] Mon, 15 March 2010 08:57 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hello all!

After a long time I finally got to back to the Makefile... and I finally finished everything I wanted to.

So the file I present you here is rewritten from scratch. It is faster and smarter. New features are:
  • Compiles multiple packages at once
  • Reads and uses most of the options from .upp in the same way as theide
  • Verbosity switches
  • Simulation mode
  • Help target
  • Commented code (a bit) Wink
  • Several bugs fixed
  • Little ASCII Art bonus Wink

The last thing I miss is blitz Smile
BTW: There are even some options that can not be set in theide Smile Or at least I couldn't find how... E.g. optimize file/package for size.

To get started, just copy the file into upp directory. I advise you to start with typing
make
#OR
make help
Both show you a help text, that contains a description and default values for variables that can controll the build process.

If you want to try something more elaborated, you can test something like this:
make "PKG=ide usvn `ls examples reference tutorial |sed 's/[^ ]*://g' |tr '\n' ' '`" USEMAINCFG=y BINDIR=bin/ BINEXT= JOBS=3
This will compile theide, usvn and all the packages in mentioned folders, using flags from first line in mainconfig and put the binaries into a bin subdirectory. All the compiling will use 3 parallel jobs to speed the things up. Expect some error messages, as some of the packages are win only, have errors in code or have non-working mainconfig.

I tested the makefile by building more than 200 applications with various flags and randomly running many of them, without any encountering any errors in the makefile. So I believe that it should work in most cases. If anyone tries this, please let me know about your experiences Wink Also, if you have any questions, feel free to ask (on forum or IRC).

Best regards,
Honza
  • Attachment: Makefile
    (Size: 19.07KB, Downloaded 321 times)
 
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Anybody still knowing anyone using Win98?
Next Topic: What do you think I should do?
Goto Forum:
  


Current Time: Thu Apr 18 22:03:16 CEST 2024

Total time taken to generate the page: 0.02352 seconds