tytd-cli-cpp/Makefile

13 lines
269 B
Makefile
Raw Permalink Normal View History

2024-09-07 08:06:48 +00:00
DESTDIR:=/usr/local/bin
build:
$(CXX) $(CFLAGS) -std=c++23 -O2 `curl-config --cflags` `pkg-config --cflags jansson` -o tytd main.cpp `curl-config --libs` `pkg-config --libs jansson`
install:
cp tytd $(DESTDIR)/tytd
uninstall:
rm $(DESTDIR)/tytd
clean:
rm tytd