Adding initial files
This commit is contained in:
parent
d83a71b8d3
commit
e1413298de
2 changed files with 30 additions and 0 deletions
20
Makefile
Normal file
20
Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
default : myprogram
|
||||||
|
|
||||||
|
all : myprogram
|
||||||
|
|
||||||
|
clean :
|
||||||
|
rm -f *.o myprogram
|
||||||
|
|
||||||
|
myprogram : main.o
|
||||||
|
g++ -Wall $^ -o myprogram
|
||||||
|
|
||||||
|
%.o : %.c
|
||||||
|
gcc -Wall $< -c
|
||||||
|
|
||||||
|
send :
|
||||||
|
git pull
|
||||||
|
git add .
|
||||||
|
git commit
|
||||||
|
git push
|
||||||
|
|
||||||
|
rebuild : clean default
|
10
main.cpp
Normal file
10
main.cpp
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#include <iostream>
|
||||||
|
#include <forward_list>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in a new issue