nddrylliog/rock — Issue #338: make rock rock make.
Author: nddrylliog
Created: 2011-11-26 21:29:36+00:00
State: open
Labels: Feature

Right now, for ooc libraries, the shortest build command is:

rock -libfolder source

And for applications

rock myapp

This has to change. It should only be as simple as doing

rock

To build both applications and libraries. That assumes 'building the main executable' for apps, and 'building both libstatic and libdynamic' for libraries.

How to do this trickery? Use the .use files. For libraries we already have SourcePath so we can just -libfolder the fucker. For apps we have to add another key: "Main", so you can do in the .use file

Main: myapp.ooc

And then it builds it. Isn't it freaking great?