0
I use Visual Studio Code + Mingw.
My project is the https://github.com/KaueAlves/Grimorie-Tabuleiro
As some IDES link between classes automatically, when using VSCODE I came across the need to pass the compilation parameters.
How do I read all the files .cpp
of all directories in /src
and then generate the output .exe
?
My markfile is currently like this, Focusing it works only on the levels I add to FOLDERS
:
#LIBARIES :=
#INCLUDES :=
FOLDERS := src/*.cpp src/*/*.cpp
FILES := main.cpp
all:
g++ -g -std=c++17 -Wall $(INCLUDES) $(FOLDERS) $(FILES) -o main