Big-Letter/makefile

28 lines
678 B
Makefile
Raw Normal View History

2023-05-11 11:50:58 +00:00
build: main.c
@echo "Building executable"
2022-10-25 12:35:47 +00:00
@mkdir -p "./Build"
2022-10-25 12:35:47 +00:00
@clang main.c carg-parse/carg-parse.c -o "./Build/BigLetter"
@echo "Finished building executable"
@echo "Executable is located at './Build/BigLetter'"
2022-10-25 12:52:03 +00:00
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"
2022-10-25 12:35:47 +00:00
2023-05-11 11:50:58 +00:00
example: ./build/BigLetter
@"./Build/BigLetter" "Hello, World"
2022-10-25 12:55:28 +00:00
2022-10-25 12:35:47 +00:00
clean:
@echo "Cleaning build directory"
2022-10-25 12:52:03 +00:00
@rm -rf "./Build"
2022-10-25 12:52:03 +00:00
@echo "Finished cleaning build directory"