steering-wheel/TouchGFX/config/gcc/app.mk

15 lines
690 B
Makefile

# Relative location of the TouchGFX framework from root of application
touchgfx_path := ../Middlewares/ST/touchgfx
# Location of the TouchGFX Environment
touchgfx_env := C:/TouchGFX/4.22.0/env
# Optional additional compiler flags
user_cflags := -DUSE_BPP=16 -std=gnu++1z -Wno-cast-qual -Wno-missing-declarations -Wno-format-truncation -Wno-unused-variable
# MINGW is annoying and for some reason replaces /z/path with z:/path in
# ADDITIONAL_SOURCES. Since TouchGFXDesigner completely overwrites the generated
# Makefile, we can't fix it there -- but the generated makefile includes this
# file, so we can fix it here.
ADDITIONAL_SOURCES := $(call subst_drivename,$(ADDITIONAL_SOURCES))