2023-01-17 01:13:12 +00:00
|
|
|
BUILD_DIR=./build
|
|
|
|
calathea: calathea.c
|
|
|
|
if [ ! -d "$(BUILD_DIR)" ]; then\
|
|
|
|
mkdir $(BUILD_DIR);\
|
|
|
|
fi
|
|
|
|
gcc -Wall -Wextra -pedantic -lm -lcmark calathea.c -o build/calathea
|
|
|
|
|
2023-01-21 01:33:47 +00:00
|
|
|
install:
|
|
|
|
cp ./build/calathea /usr/bin/calathea
|
|
|
|
|
2023-01-17 01:13:12 +00:00
|
|
|
clean:
|
|
|
|
rm build/*
|