Big-Letter/makefile

28 lines
639 B
Makefile
Raw Normal View History

2023-05-11 11:50:58 +00:00
build: main.c
2022-10-25 12:52:03 +00:00
echo "Building executable"
mkdir -p "./Build"
2022-10-25 12:35:47 +00:00
2023-05-11 11:50:58 +00:00
clang main.c -o "./Build/BigLetter"
2022-10-25 12:35:47 +00:00
2022-10-25 12:52:03 +00:00
echo "Finished building executable"
2023-05-11 11:50:58 +00:00
echo "Executable is located at './Build/BigLetter'"
2022-10-25 12:52:03 +00:00
usage:
2023-05-11 11:50:58 +00:00
echo "BigLetter Usage:"
echo "Location: ./Build/BigLetter"
2022-10-25 12:52:03 +00:00
echo "Arguments:"
echo "Required: Input Text"
echo "Optional: Replacement True and False Characters"
echo "Optional: Verbose"
2023-05-11 11:50:58 +00:00
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:
2022-10-25 12:52:03 +00:00
echo "Cleaning build directory"
rm -rf "./Build"
echo "Finished cleaning build directory"