From f844536c0a3a4ba397f586897482dcb0f7550f5b Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Mon, 8 May 2023 19:29:52 +1000 Subject: started graphical application, plus other stuff --- makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'makefile') 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 -- cgit v1.2.3