Skip to content

natefusion/genc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a C project generator. I designed it to mimic cargo, at least on a surface level.

The default file structure is like so:

<project name>
Makefile
src
Makefile
main.c
target
debug
<project name>
release
<project name>

Build instructions

Requirements

libgit2 GNU Make pkg-config

How to Build

$ make release

Installation

Note: Default installation path is ~/.local/bin

$ make install

Uninstallation

$ make uninstall

Examples

Create a new project

$ genc init <project name>

Build a project with debug flags

$ make

Build a project without debug flags

$ make release

Run a debug build

$ make run

Run a debug build with commandline arguments

$ make run a="arg1 arg2 arg3"

Remove debug and release builds

$ make clean

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published