From ed2a4bc4400c38ecd11baccac5db328b797b5d68 Mon Sep 17 00:00:00 2001 From: pk33 Date: Thu, 14 Nov 2024 15:06:07 +0100 Subject: begin 3D rendering, basic camera controls --- makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'makefile') 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 -- cgit v1.2.3