Big-Letter/makefile
2023-05-11 18:19:56 +01:00

28 lines
678 B
Makefile

build: main.c
@echo "Building executable"
@mkdir -p "./Build"
@clang main.c carg-parse/carg-parse.c -o "./Build/BigLetter"
@echo "Finished building executable"
@echo "Executable is located at './Build/BigLetter'"
usage:
@echo "BigLetter Usage:"
@echo "Location: ./Build/BigLetter"
@echo "Arguments:"
@echo "Required: Input Text"
@echo "Optional: Replacement True and False Characters"
@echo "Optional: Verbose"
@echo "'./Build/BigLetter' 'INPUT TEXT' 'TRUE CHAR' 'FALSE CHAR' 'v FOR VERBOSE"
example: ./build/BigLetter
@"./Build/BigLetter" "Hello, World"
clean:
@echo "Cleaning build directory"
@rm -rf "./Build"
@echo "Finished cleaning build directory"