summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 67ded2b..c3e3002 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS := -Iinc -g -Og -Wall
+CFLAGS := -Iinc -g -Og -Wall #-DDEBUG
# Lähtekood
SRC := $(wildcard src/*.c)
@@ -19,6 +19,10 @@ lib:
obj:
mkdir obj
+.PHONY: run
+run: lib/interpret
+ ./lib/interpret
+
.PHONY: clean
clean:
rm -r obj lib