.gitignore

This commit is contained in:
Ben Harris 2016-10-28 12:37:30 -04:00
parent 5e68a891bc
commit 5af4323348
4 changed files with 30 additions and 9 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
bish
bish.o

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
CSW = -O3 -Wall -std=c++11
LSW = -std=c++11
all:
make bish
bish: bish.o Makefile
g++ bish.o -o bish $(LSW)
bish.o: bish.cc Makefile
g++ bish.cc -c -o bish.o $(CSW)
clean:
touch Makefile; make

14
bish.cc Normal file
View File

@ -0,0 +1,14 @@
#include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
int main(int argc, char **argv){
string line;
cout << getenv("PS1");
while (getline(cin, line)) {
cout << line << endl;
cout << getenv("PS1");
}
return 0;
}

9
bs.cc
View File

@ -1,9 +0,0 @@
#include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
int main(int argc, char **argv){
return 0;
}