Git Product home page Git Product logo

organice's Introduction

------------------------------------------------------------
 What
------------------------------------------------------------

a build tool based on godag (http://godag.googlecode.com)
for c, in c. not the most mature system at the moment.




------------------------------------------------------------
 Install
------------------------------------------------------------

 $ make            # will build the binary in: bin/oc


this can be moved somewhere it can be found, i.e.
inside a directory pointed to by the PATH variable,
or the 'bin' directory can be added to the PATH variable.
the target 'localinstall' will copy the binary to
$HOME/bin if it exists. 

 $ make localinstall 

is the same as

 $ make && cp bin/oc $HOME/bin



------------------------------------------------------------
 Try
------------------------------------------------------------

once you have built the binary you can test it out.
these commands assumes 'oc' can be found inside the $PATH


  $ oc clean          # removes all the objects generated
  $ oc test           # runs unit-tests
  $ oc help           # prints the help menu
  $ oc -o program     # builds 'oc' and names it 'program'




------------------------------------------------------------
 Organise
------------------------------------------------------------

a package in (this context) is a header file and a
source file, which apart from their suffix has the
same name and resides in the same directory.

    src/some/path/that.h
    src/some/path/that.c

these two files would be considered part of the same 
package, and these are the only two files "that" package
can contain.

a test package is a normal package which filenames end
with '_test.h' and '_test.c'. 

    src/some/path/test_that.h
    src/some/path/test_that.c

this would be considered a test package, and would not
be compiled during a normal build.


organice's People

Contributors

bjarneh avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.