Skip to content
/ Maker Public

A simple program to help you compile your programs. You can create sets of files as well.

Notifications You must be signed in to change notification settings

LakshAgg/Maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maker

This is a simple and useless program which lets you compile programs. You can create configurations for different commands. You can also group files by making sets which can be included in your programs.

Installation

Execute:

gcc main.c Basic.c Exception/Exception.c Strings/String.c -o Maker

And add the file Maker to your environment paths.

Usage

You can print all the commands with their use by Maker -h.

Sets

Sets are just collection of files. You can create sets for any files and include them in any project by just adding the set.

Sets can be created by: Maker add_file [set] [file_name]. This will add the file if set exists or creates the set.

Sets can be printed by: Maker print_sets.

Files in a set can be printed by: Maker print_files [set]. This will print the files in the set with their index.

File can be removed from a set by: Maker remove_file [set] [index]. Index can be obtained by printing the files.

Complete set can be deleted by: Maker remove_set [set].

Config

For every project you can create configurations. Example: for testing. This will let you keep commands saparated for different purposes.

A config can be set or created by: Maker set_config [config name]. You can set a complete command by Maker set_config [config_name] "[command]", this will treat the first word as the compiler / program to run, and other words as arguments.

Last set config can be printed by Maker print_config;

For every config you need to specify compiler by: Maker set_compiler [compiler]. You can print the set compiler by Maker print_compiler.

Maker simply compiles the last set config. Maker [config_name] [config_name] ... simply compiles the configs.

In every config source files can be added by: Maker add_file [file]. This will add file to the last set config.

Files of a config can be printed by: Maker print_files. This will print all the files of last set config with their index.

File can be removed from a config by: Maker remove_file [index]. This will remove file from the last set config.

Similarly sets operations are: add_set [set] print_sets_added remove_set_added [id].

Similarly argument operations are: add_argument [argument] print_arguments remove_argument [id].

About

A simple program to help you compile your programs. You can create sets of files as well.

Topics

Resources

Stars

Watchers

Forks

Languages