Added debug task to makefile
Adjusted gitignore
This commit is contained in:
parent
6a9afe4a98
commit
60c0e47668
2 changed files with 8 additions and 3 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -37,7 +37,7 @@
|
||||||
*.x86_64
|
*.x86_64
|
||||||
*.hex
|
*.hex
|
||||||
interpreter
|
interpreter
|
||||||
|
interpreter_debug
|
||||||
# Debug files
|
# Debug files
|
||||||
*.dSYM/
|
*.dSYM/
|
||||||
*.su
|
*.su
|
||||||
|
|
@ -55,4 +55,7 @@ dkms.conf
|
||||||
|
|
||||||
#EIPA specific
|
#EIPA specific
|
||||||
*.eipa
|
*.eipa
|
||||||
|
*.eipaimg
|
||||||
|
|
||||||
|
#Code editor
|
||||||
|
.vscode/*
|
||||||
|
|
|
||||||
6
Makefile
6
Makefile
|
|
@ -1,10 +1,12 @@
|
||||||
all: compile
|
all: compile
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
gcc main.c -o interpreter
|
gcc main.c -o
|
||||||
|
|
||||||
run:
|
run:
|
||||||
./interpreter
|
./interpreter
|
||||||
|
|
||||||
buildrun: compile
|
buildrun: compile
|
||||||
./interpreter
|
./interpreter
|
||||||
|
compiledebug:
|
||||||
|
gcc main.c -g -o interpreter_debug
|
||||||
Loading…
Add table
Add a link
Reference in a new issue