You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
307 B

EXE=invoker
CC=clang++
CFLAGS=-g -O2 -std=c++20 -Wall -Wextra
.PHONY: test, clean
test: $(EXE)
./$(EXE)
$(EXE): main.cpp invoke_callable.hpp.gch
$(CC) $(CFLAGS) -o $(EXE) main.cpp
invoke_callable.hpp.gch: invoke_callable.hpp
$(CC) $(CFLAGS) -c invoke_callable.hpp
clean:
rm -rf $(EXE) ./*.o ./*.gch