No description
Find a file
2023-09-18 11:21:41 -05:00
src build rule generation and cmdline arg parsing 2023-09-18 11:21:41 -05:00
.gitignore directory tree parsing done (and its a mess) 2023-09-18 00:06:25 -05:00
Cargo.toml build rule generation and cmdline arg parsing 2023-09-18 11:21:41 -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