Add build+run command to makefile
This commit is contained in:
parent
da1c3e66ef
commit
91ee058d9d
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -1,7 +1,10 @@
|
|||
all: compile run
|
||||
all: compile
|
||||
|
||||
compile:
|
||||
gcc main.c -o interpreter
|
||||
|
||||
run:
|
||||
./interpreter
|
||||
|
||||
buildrun: compile
|
||||
./interpreter
|
Loading…
Reference in a new issue