Makefile: Add few src file for testing
This commit is contained in:
parent
966a1e12f6
commit
601995f889
|
@ -0,0 +1,8 @@
|
|||
#include <iostream>
|
||||
#include "lib.h"
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
std::cout << "C++ Hello World!" << std::endl;
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
#include "lib.h"
|
||||
|
||||
void lib() { return; }
|
|
@ -0,0 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
void lib();
|
|
@ -0,0 +1,8 @@
|
|||
#include <stdio.h>
|
||||
#include "lib.h"
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
printf("Hello world\n");
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue