is there a way to include all .cpp files in make? I tried this and it does not work
# the build command
error_app: error_reporting.cpp $(INCLUDE_PATH)%.cpp
$(CC) $(CFLAGS) $^ -o $(DEBUG_PATH)$@.exe
is manually typing it the only way?
# the build command
error_app: error_reporting.cpp $(INCLUDE_PATH)error_checker.cpp $(INCLUDE_PATH)error_report.cpp
$(CC) $(CFLAGS) $^ -o $(DEBUG_PATH)$@.exe