10 lines
191 B
Makefile
10 lines
191 B
Makefile
|
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
|
||
|
|
||
|
clean:
|
||
|
rm build/*
|