Giter Site home page Giter Site logo

binary_trees's Introduction

Binary Trees

Build

  • To build and run task
$ make run task=0
  • To rebuild and run task
$ make rerun task=0
  • You can add extra c files to the build
  • Let's say you want to build a task that has a dependency from previous tasks
  • The dependency files name are 0-binary_tree_node.c, 1-binary_tree_insert_left.c, 2-binary_tree_insert_right.c
$ make run task=16 extra="binary_tree_node binary_tree_insert*"
# OR
$ make rerun task=16 extra="binary_tree_node" files="*-binary_tree_insert*.c"
  • The extra variable is the same as the files variable the only deference is that the extra variable adds *- before the wildcard and .c after it.

  • add g=1 to build with the -g flag

Make Targets

  • build: builds the task chosen by the TASK variable with EXTRA
  • run: executes the executable and if not exists runs the build target
  • rerun: runs fclean then run
  • betty: executes the betty command to check all source code
  • clean: removes all object files
  • fclean: removes all object files and the executable

binary_trees's People

Contributors

ammar-khaled avatar davenchy avatar

Watchers

 avatar  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.