2023-05-11 11:50:58 +00:00
|
|
|
build: main.c
|
2023-05-11 17:19:56 +00:00
|
|
|
@echo "Building executable"
|
2022-10-25 12:35:47 +00:00
|
|
|
|
2023-05-11 17:19:56 +00:00
|
|
|
@mkdir -p "./Build"
|
2022-10-25 12:35:47 +00:00
|
|
|
|
2023-05-11 17:19:56 +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:
|
2023-05-11 17:19:56 +00:00
|
|
|
@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
|
2023-05-11 17:19:56 +00:00
|
|
|
@"./Build/BigLetter" "Hello, World"
|
2022-10-25 12:55:28 +00:00
|
|
|
|
2022-10-25 12:35:47 +00:00
|
|
|
clean:
|
2023-05-11 17:19:56 +00:00
|
|
|
@echo "Cleaning build directory"
|
2022-10-25 12:52:03 +00:00
|
|
|
|
2023-05-11 17:19:56 +00:00
|
|
|
@rm -rf "./Build"
|
2022-10-25 12:52:03 +00:00
|
|
|
|
2023-05-11 17:19:56 +00:00
|
|
|
@echo "Finished cleaning build directory"
|