Added debug task to makefile

Adjusted gitignore
This commit is contained in:
XOR 2022-12-29 01:35:19 +01:00
parent 6a9afe4a98
commit 60c0e47668
2 changed files with 8 additions and 3 deletions

5
.gitignore vendored
View file

@ -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/*

View file

@ -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