From 9384448fd3e54d9d787d7c35bc1069487ab07d88 Mon Sep 17 00:00:00 2001 From: Juan Manuel Tomas Date: Thu, 20 Jan 2022 04:56:45 -0300 Subject: Separate most platform code into separate file --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 850e2a2..287fd6c 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,4 @@ -gcc -Wall -pedantic -O0 -c main.c -o main.o && \ +flags=-Wall -pedantic -O0 +gcc $flags -O0 -c main.c -o main.o && \ gcc main.o -lSDL2 -o main && \ ./main -- cgit v1.2.3