Files
rez_demo/external.mk

42 lines
1011 B
Makefile

# export for making the definitions available anywhere during the run
# instead of using imports in each makefile of the project (which would also break since PWD gets reevaluated at each import)
# export COMPILER=aarch64-linux-gnu-gcc
export CPP_COMPILER=aarch64-linux-gnu-g++
export C_COMPILER=aarch64-linux-gnu-gcc
export GLOBAL_COMPILE_CONF=-fno-stack-protector
export CFLAGS=-ansi -Wpedantic -Winline -Werror # -std=c99
export PWD=/home/beno/Desktop/BATO/WAYLAND/demo_3_scuola/
# export PWD:=$(shell pwd)/
# DIRECTORIES
export GLUT_D=${PWD}../demo_3_2_link_GLUT/glut_mine/
export RESOURCES_LOC=${PWD}../resources/
# includes EGL GLES2 (KHR needed by both)
export HEADERS=${RESOURCES_LOC}headers/
export GLM_HEADERS=${PWD}../glm/
export LINKED_LIBRARIES=${PWD}../../LIBRARIES_FROM_BATO
# LINK
export L_SHLIBS=-L${LINKED_LIBRARIES}
# INCLUDE
export I_HEADERS=-I ${HEADERS} # GRAPHICS FOR NOW
export I_GRAPHICS=-I ${HEADERS}
export I_CGI_MATH=-I ${GLM_HEADERS}
export I_MY_GLUT=-I ${GLUT_D}