Go to file
2023-09-17 21:50:16 -05:00
src initial commit 2023-09-17 21:50:16 -05:00
.gitignore initial commit 2023-09-17 21:50:16 -05:00
Cargo.toml initial commit 2023-09-17 21:50:16 -05:00
LICENSE Initial commit 2023-09-18 02:17:42 +00:00
README.md initial commit 2023-09-17 21:50:16 -05:00

mgen

Makefile generator for C projects.

mgen automatically generates build rules for all source files (extension .c) it finds in a recursive search of the directory in which it is run. It reads the varibles from your existing Makefile and uses them when generating the new targets.

The following varibles are supported:

  • CC -> C compiler
  • CFLAGS -> compilation flags
  • LDLIBS -> linker libraries
  • LDFLAGS -> linker flags
  • TARGET -> name of final executable/library