Skip to content

paladini/MakeMaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MakeMaker - Generate makefiles quickly!
Generate makefiles quickly with MakeMaker.

Installation

  1. Download the latest version of MakeMaker.
  2. Extract it anywhere you want.
  3. Run sudo make install on the MakeMaker folder.
  4. Done!

Now you can use mm to run MakeMaker. Please, check our current specification below.

Current specification:

### List ###
# List all targets (only targets, not their respective commands)
	mm list 

# List entire makefile
	mm list -A

# List variables
	mm list -V

# List a single target (with the commands)
	mm list <target>

### Targets ###
# Create target
	mm add <target>

# Rename target
	mm edit <oldTargetName> <newTargetName>

# Delete a target
	mm remove <target>

### Commands ###
## Add command to target *(also create the target if it doesn't exist)*
	mm add <target> <command>

	Where <command> is
		<compiler> <filename.ext, filename2.ext, ...> <flags>
	
## Replace command from specific target.
	mm edit <target>:<number_line> <command>

	Where <command> is just
		<compiler> <filename.ext, filename2.ext, ...> <flags>

# Delete command
	mm remove <target>:<number_line>

### Variables ###
# Add variable
	mm set -v <myVariableKey1>=<myVarialeValue1> <myVariableKey2>=<myVariableValue2> ...

# Edit variable
	mm set -v <myExistingVariableKey>=<myNewValue>			

# Remove variable 
	mm set -v <myExistingVariableKey>= 

Repository organization

Following you can check a description about the repository organization:

# Source code. Here you can find all the source code of MakeMaker.
src/
	exceptions/ # Some useless exceptions
	tests/ # Some uncompleted unity and integration tests

# MakeMaker documentation (some diagrams and other annoying things from software engineering).
documentation/

# Here you can find some makefile samples that MakeMaker can parse / work with.
examples/

# Folder where the compiled binaries are stored (only after compilation process).
binary/

About

MakeMaker was created by Emmanuel Podestá Junior, Fernando Paladini and Lucas Neis for "Software Engineering" class at UFSC (2015-01).