aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorpk33 <pk33@pk33.space>2024-11-14 15:06:07 +0100
committerpk33 <pk33@pk33.space>2024-11-14 15:06:07 +0100
commited2a4bc4400c38ecd11baccac5db328b797b5d68 (patch)
treeb703749d0639f933edca4c3a78209159aa735c25 /makefile
parent5a54774474f43ae29716751d6415563a59b92c7d (diff)
downloadengine33-master.tar.gz
begin 3D rendering, basic camera controlsHEADmaster
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