Skip to content

Commit 691599e

Browse files
committed
Adding dummy source files and makefile
1 parent 606e8c8 commit 691599e

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
test : test.C test.h
2+
g++ -o test test.C

test.C

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#include "test.h"
2+
3+
#include <iostream>
4+
5+
int testfunc1(void)
6+
{
7+
std::cout << "Test func 1" << std::endl;
8+
return 0;
9+
}
10+
11+
int testfunc2(void)
12+
{
13+
std::cout << "Test func 2" << std::endl;
14+
return 0;
15+
}
16+
17+
int main(void)
18+
{
19+
testfunc1();
20+
testfunc2();
21+
return 0;
22+
}

test.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
int testfunc1(void);
3+
4+
int testfunc2(void);

0 commit comments

Comments
 (0)