Skip to content

Compile functions module for shellfire to make it easier to use make and gcc

License

Notifications You must be signed in to change notification settings

shellfire-dev/compile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compile: functions module for shellfire

This module provides a simple set of wrapper functions for making it more pleasant to work with make and gcc.

Compatibility

Overview

Usage couldn't be simpler. Just pick a function. Please note that most functions are not currently documented.

Importing

To import this module, add a git submodule to your repository. From the root of your git repository in the terminal, type:-

mkdir -p lib/shellfire
cd lib/shellfire
git submodule add "https://github.com/shellfire-dev/compile.git"
cd -
git submodule init --update

You may need to change the url https://github.com/shellfire-dev/compile.git above if using a fork.

You will also need to add paths - include the module paths.d, and the dependencies git and cpucount.

Namespace compile

This namespace contains useful functions wrapping compile.

To use in code

If calling from another shellfire module, add to your shell code the line

core_usesIn compile

in the global scope (ie outside of any functions). A good convention is to put it above any function that depends on functions in this module. If using it directly in a program, put this line inside the _program() function:-

_program()
{
	core_usesIn compile
	…
}

Functions

Not yet documented.

About

Compile functions module for shellfire to make it easier to use make and gcc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published