Makefile in action
// hello.cpp
#include <iostream>
#include "function.h"
using namespace std;
void print_hello()
{
cout << "Hello World" << endl;
}// function.h
#ifndef FUNCTIONS_H
#define FUNCTIONS_H
void print_hello();
#endifLast updated
Was this helpful?