ccalathea/Makefile

13 lines
240 B
Makefile

BUILD_DIR=./build
calathea: calathea.c
if [ ! -d "$(BUILD_DIR)" ]; then\
mkdir $(BUILD_DIR);\
fi
gcc calathea.c -Wall -Wextra -pedantic -lm -lcmark -o build/calathea
install:
cp ./build/calathea /usr/bin/calathea
clean:
rm build/*