aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/makefile b/makefile
index b36fe8b..208a03f 100644
--- a/makefile
+++ b/makefile
@@ -1,16 +1,16 @@
-CC = gcc
+CC = clang
PROJECT = engine33
-OBJS = main.o system33.o input33.o logger33.o font33.o strings33.o ui33.o clock33.o display33.o
+OBJS = main.o system33.o input33.o logger33.o font33.o strings33.o ui33.o clock33.o display33.o graphics33.o math33.o scene33.o
PDIR = ./bin
.PATH: ./src
-INCS = -I./include -I./include/musl -I./include/libdrm
+INCS = -I./include -I./include/musl
-LIBS = -L./lib/musl -L./lib/libdrm
+LIBS = -L./lib/musl
-CFLAGS = -march=native -mtune=native -static -w -Wall -Werror -Wextra -Wshadow -Wpedantic -D_XOPEN_SOURCE=700
+CFLAGS = -march=native -mtune=native -std=c89 -static -w -Wall -Werror -Wextra -Wshadow -Wpedantic -D_POSIX_C_SOURCE=200809L
.MAKE.JOBS = 1C