makefile
402 Bytes
CFLAGS=-ggdb -Wall -pedantic -D_REENTRANT -DASIO_STANDALONE -DASIO_HAS_CO_AWAIT -DASIO_HAS_STD_COROUTINE -I asio-1.18.1/include/
%: %.cpp
g++-10 -std=c++20 -fcoroutines $(CFLAGS) $< -o $@ -lpthread
EXECS = 00-timer1 01-timer2 02-timer3 03-timer4 04-timer5 05-daytime1 06-daytime2 07-daytime3 08-daytime4 09-daytime5 10-daytime6 11-daytime7
all: $(EXECS)
.PHONY: clean all
clean:
rm -f $(EXECS)