Makefile: Add few src file for testing
This commit is contained in:
parent
966a1e12f6
commit
601995f889
8
Makefile/bin.cpp
Normal file
8
Makefile/bin.cpp
Normal file
@ -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;
|
||||
}
|
3
Makefile/lib.c
Normal file
3
Makefile/lib.c
Normal file
@ -0,0 +1,3 @@
|
||||
#include "lib.h"
|
||||
|
||||
void lib() { return; }
|
3
Makefile/lib.h
Normal file
3
Makefile/lib.h
Normal file
@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
void lib();
|
8
Makefile/main.c
Normal file
8
Makefile/main.c
Normal file
@ -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
Block a user