Skip to content

Instantly share code, notes, and snippets.

@alepez
Last active August 29, 2015 14:27
Show Gist options
  • Save alepez/e2f126fc5ef5e7777af1 to your computer and use it in GitHub Desktop.
Save alepez/e2f126fc5ef5e7777af1 to your computer and use it in GitHub Desktop.
#############################################################################
# Makefile for building: qt-hello
# Generated by qmake (3.0) (Qt 5.2.0)
# Project: qt-hello.pro
# Template: app
# Command: /home/pez/workspace/esa-universal/sdk/toolchain/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/qmake
-spec /home/pez/workspace/esa-universal/sdk/usr/mkspecs/devices/linux-imx6-g++ -o Makefile qt-hello.pro
#############################################################################
MAKEFILE = Makefile
####### Compiler, tools and options
CC = arm-none-linux-gnueabi-gcc
CXX = arm-none-linux-gnueabi-g++
DEFINES = -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
CFLAGS = -pipe -O2 -DLINUX=1 -DEGL_API_FB=1 -O3 -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfloat-abi=softfp -mfpu=neon -ftree-vectorize -fomit-frame-pointer -Wall -W -D_REENTRANT -fPIE $(DEFINES)
CXXFLAGS = -pipe -O2 -DLINUX=1 -DEGL_API_FB=1 -O3 -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfloat-abi=softfp -mfpu=neon -ftree-vectorize -fomit-frame-pointer -Wall -W -D_REENTRANT -fPIE $(DEFINES)
INCPATH = -I../../sdk/usr/mkspecs/devices/linux-imx6-g++ -I. -I../../sdk/usr/include -I../../sdk/usr/include/QtWidgets -I../../sdk/usr/include/QtGui -I../../sdk/usr/include/QtCore -I. -I$(SDK_MXC_PATH)/usr/include
LINK = arm-none-linux-gnueabi-g++
LFLAGS = -Wl,-rpath-link=$(SDK_MXC_PATH)/usr/lib -Wl,-O1 -Wl,-rpath,/usr/lib
LIBS = $(SUBLIBS) -L$(SDK_MXC_PATH)/usr/lib -L/home/pez/sdk/usr/lib -lQt5Widgets -L/usr/lib -lQt5Gui -lQt5Core -lGLESv2 -lEGL -lGAL -lpthread
AR = arm-none-linux-gnueabi-ar cqs
RANLIB =
QMAKE = /home/pez/sdk/toolchain/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/qmake
TAR = tar -cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment