how to make a make file C++ code example
Example 1: create file c++
// using ofstream constructors.
#include <iostream>
#include <fstream>
std::ofstream outfile ("test.txt");
outfile << "my text here!" << std::endl;
outfile.close();
Example 2: make file creation
hello: hello.c
${CC} hello.c -o hello