mgen/README.md

16 lines
483 B
Markdown
Raw Normal View History

2023-09-18 02:17:42 +00:00
# mgen
2023-09-18 02:50:16 +00:00
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