removed trailing whitespace
This commit is contained in:
		
							parent
							
								
									9b99602894
								
							
						
					
					
						commit
						c943c48e41
					
				
					 1 changed files with 11 additions and 11 deletions
				
			
		
							
								
								
									
										22
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								README.md
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -7,12 +7,12 @@ 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 places
 | 
			
		||||
the rules in your existing makefile, meaning you can easily change build options
 | 
			
		||||
and even write your own rules based on those generated. 
 | 
			
		||||
and even write your own rules based on those generated.
 | 
			
		||||
 | 
			
		||||
`mgen` will place the generated rules between the strings "`#=mgen_start=#`" and
 | 
			
		||||
"`#=mgen_end=#`" in your makefile. If these lines are not present, it will add
 | 
			
		||||
them to the end of the file and place the rules there. Anything not between
 | 
			
		||||
these lines will not be touched by `mgen`. 
 | 
			
		||||
these lines will not be touched by `mgen`.
 | 
			
		||||
 | 
			
		||||
`mgen` utilizes certain common make variables when generating the build rules.
 | 
			
		||||
These are:
 | 
			
		||||
| 
						 | 
				
			
			@ -35,15 +35,15 @@ directory `BUILD_DIR/obj/`, and the `TARGET` will be placed at
 | 
			
		|||
 | 
			
		||||
```
 | 
			
		||||
$ mgen --help
 | 
			
		||||
Usage: mgen [OPTIONS] [BUILD_DIR]                                                                                                                                                                                                             
 | 
			
		||||
                                                                                                                                                                                                                                              
 | 
			
		||||
Arguments:                                                                                                                                                                                                                                    
 | 
			
		||||
  [BUILD_DIR]  Directory to place build files [default: ./build]                                                                                                                                                                              
 | 
			
		||||
                                                                                                                                                                                                                                              
 | 
			
		||||
Options:                                                                                                                                                                                                                                      
 | 
			
		||||
  -p, --pretty               Replace default make output with nice build messages                                                                                                                                                             
 | 
			
		||||
  -m, --makefile <MAKEFILE>  Path to makefile [default: ./Makefile]                                                                                                                                                                           
 | 
			
		||||
  -h, --help                 Print help                                                                                                                                                                                                       
 | 
			
		||||
Usage: mgen [OPTIONS] [BUILD_DIR]
 | 
			
		||||
 | 
			
		||||
Arguments:
 | 
			
		||||
  [BUILD_DIR]  Directory to place build files [default: ./build]
 | 
			
		||||
 | 
			
		||||
Options:
 | 
			
		||||
  -p, --pretty               Replace default make output with nice build messages
 | 
			
		||||
  -m, --makefile <MAKEFILE>  Path to makefile [default: ./Makefile]
 | 
			
		||||
  -h, --help                 Print help
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Starting from a "blank slate," i.e. you have no build system configured in your
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue