summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-05-08 19:29:52 +1000
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-05-08 19:29:52 +1000
commitf844536c0a3a4ba397f586897482dcb0f7550f5b (patch)
treeafd1eca6a69c01ceea5483baccf64ab666a4403b /makefile
parentc1d5bf8ab7648418fa7120ea4868205f3cf7e857 (diff)
started graphical application, plus other stuff
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/makefile b/makefile
index 84674d7..22e5af1 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,11 @@
+SDL = -L/usr/lib -lSDL2
+
default:
+ gcc src/main.c $(SDL) -o main
+
+interpreter:
+ rm interpreter
gcc src/interpreter.c -o interpreter
-illegal:
- gcc src/interpreter.c -o interpreter -D ILLEGAL
+interpreter-illegal:
+ gcc src/interpreter.c -o interpreter -D ILLEGAL \ No newline at end of file