Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b4cff6c541
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (25 sloc) 1.072 kb
ifndef QCONFIG
QCONFIG=qconfig.mk
endif
include $(QCONFIG)
USEFILE=
NAME=HelloWorld
#===== CCFLAGS - add the flags to the C compiler command line.
CCFLAGS+=-Y_gpp
#===== EXTRA_INCVPATH - a space-separated list of directories to search for include files.
EXTRA_INCVPATH+=$(PRODUCT_ROOT)/../ \
$(QNX_TARGET)/usr/include/freetype2 \
$(QNX_TARGET)/../target-override/usr/include
#===== EXTRA_SRCVPATH - a space-separated list of directories to search for source files.
EXTRA_SRCVPATH+=$(PRODUCT_ROOT)/../HelloWorld
# Extra library search path for target overrides and patches
EXTRA_LIBVPATH+=$(QNX_TARGET)/../target-override/$(CPUVARDIR)/lib \
$(QNX_TARGET)/../target-override/$(CPUVARDIR)/usr/lib
# Basic libraries required by most native applications
LIBS+=m
include $(MKFILES_ROOT)/qmacros.mk
# Suppress the _g suffix from the debug variant
BUILDNAME=$(IMAGE_PREF_$(BUILD_TYPE))$(NAME)$(IMAGE_SUFF_$(BUILD_TYPE))
include $(MKFILES_ROOT)/qtargets.mk
OPTIMIZE_TYPE_g=none
OPTIMIZE_TYPE=$(OPTIMIZE_TYPE_$(filter g, $(VARIANTS)))
Jump to Line
Something went wrong with that request. Please try again.