TaKl/Makefile
augustin64 10c326c040 Moving away from c++ which was not needed
Improve list command (now sorted output)
Bump version to 1.0.1
2023-07-13 12:00:05 +02:00

24 lines
310 B
Makefile

FLAGS = -g -Wall -Wextra -lsqlite3
LD_FLAGS =
$(shell mkdir -p out)
out/%.o: src/%.c
$(CC) -c $(FLAGS) $^ -o $@
takl: out/main.o out/db.o out/tasks.o
$(CC) $(FLAGS) $(LD_FLAGS) $^ -o $@
install: takl
sudo cp takl /usr/bin/takl
uninstall: takl
sudo rm /usr/bin/takl
clean:
rm out -r
rm ./takl