Files
rez_demo/external.mk
beno bbede61723 updated makefile for supporting different target architectures
use "ARCH=arch_name make"

restructured project folder, implementations and headers together under sources/
2026-03-16 00:10:52 +01:00

25 lines
618 B
Makefile

export GLOBAL_COMPILE_CONF=-fno-stack-protector
export CFLAGS=-ansi -Wpedantic -Winline -Werror -std=c++11
export PWD=/home/beno/Desktop/rg552_minimal_dev_env/WAYLAND/demos/rez_demo/
# DIRECTORIES
export SD=${PWD}sources/
export GLUT_D=${PWD}../my_glut/
export GLUT_I_D=${GLUT_D}headers/
RESOURCES_LOC=${PWD}../../resources/
# includes EGL GLES2 (KHR needed by both)
export HEADERS=${RESOURCES_LOC}headers/
export GLM_HEADERS=${RESOURCES_LOC}sources/glm/
# INCLUDE
export I_HEADERS=-I ${HEADERS} # GRAPHICS FOR NOW
export I_EGL=-I ${HEADERS}
export I_CGI_MATH=-I ${GLM_HEADERS}
export I_MY_GLUT=-I ${GLUT_I_D}