Archived
1
0
Fork 0

Added gitignore to ignore .o files and executable and made makefile

This commit is contained in:
Brandon Rozek 2018-06-03 13:06:17 -04:00
parent aed4d08f9d
commit b3ae08e1ba
2 changed files with 8 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.o
prompt

6
Makefile Normal file
View file

@ -0,0 +1,6 @@
run: prompt.c mpc.o
cc -std=c99 -Wall prompt.c mpc.o -ledit -lm -o prompt
mpc:o mpc.c mpc.h
cc -std=c99 -Wall -lm -c mpc.c
clean:
rm *.o