cprj
A template for quickly getting started on a project written in C. Includes a Makefile, a testing framework (forked from Unity), and general directory layout.
Instructions
Set the project's name by changing the NAME
variable in first line of the
Makefile
. Write source files in src/
, and headers in src/include/
. Write
unit tests in test/
(with the same name as the source file they test). To
build, simply run make
, or make test
to build and run test binaries as
well. The final binary will be written to ./<project-name>.out
.
Instructions for writing tests coming soon.
Description
Languages
C
99.2%
Makefile
0.8%