13 lines
269 B
Makefile
13 lines
269 B
Makefile
|
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
|