code compiles with makefile and displays text

This commit is contained in:
Thomas FILLOD 2022-04-14 10:17:28 +02:00
parent 035748afd7
commit f1e2832eef
3 changed files with 27 additions and 0 deletions

14
makefile Normal file
View File

@ -0,0 +1,14 @@
all: ppg
g++ -o ppg_program ppg.o
ppg:
g++ -c ppg.cpp
clean:
rm *.o
rm a.out

13
ppg.cpp Normal file
View File

@ -0,0 +1,13 @@
#include<iostream>
int main()
{
std::cout<<"PPG algorithm"<<std::endl;
return 0;
}

BIN
ppg_program Executable file

Binary file not shown.