# This is an automatically generated record.
# The area between QNX Internal Start and QNX Internal End is controlled by
# the QNX IDE properties.


ifndef QCONFIG
QCONFIG=qconfig.mk
endif
include $(QCONFIG)


ifndef QNX_INTERNAL
QNX_INTERNAL=$(PROJECT_ROOT)/.qnx_internal.mk
endif


#===== USEFILE - the file containing the usage message for the application. 
USEFILE=

# Next lines are for C++ projects only

EXTRA_SUFFIXES+=cxx cpp

#===== LDFLAGS - add the flags to the linker command line.
LDFLAGS+=-M -Y_acpp-ne
LDFLAGS_x86_r+=-Wl,--strip-all

VFLAG_g=-gstabs+

#===== EXTRA_INCVPATH - a space-separated list of directories to search for include files.
EXTRA_INCVPATH+=$(PROJECT_ROOT)/inc  \
	$(PROJECT_ROOT_MyLibrary)/inc 

#===== EXTRA_SRCVPATH - a space-separated list of directories to search for source files.
EXTRA_SRCVPATH+=$(PROJECT_ROOT)/src  \

CPPOPTS=-Wc,-fno-rtti

#===== CCFLAGS - add the flags to the C compiler command line. 
CCFLAGS+=-Werror  \
	-Wc,-Wall,-W,-fmessage-length=0,-fno-exceptions -msse  \
	-Y_acpp-ne  \
	-mfpmath=sse $(if $(filter %.cc %.cpp %.cxx, $(suffix $<)),$(CPPOPTS))
CCFLAGS_x86_g+=-D__DEBUG__
CCFLAGS_x86_r+=-O2 -Wc,-march=pentium

#===== LIBS - a space-separated list of library items to be included in the link.

#===== POST_BUILD - extra steps to do after building the image.
define POST_BUILD
-@$(CP_HOST) $(BUILDNAME) D:\Development\IndexTest
endef


include $(MKFILES_ROOT)/qmacros.mk
#===== BUILDNAME - exact name (before appending suffixes like .a, .so) of build goal.
BUILDNAME=MyProject

#===== EXTRA_OBJS - object files and libraries contributed additionaly on link/archive step


include $(QNX_INTERNAL)
postbuild:
	$(POST_BUILD)

include $(MKFILES_ROOT)/qtargets.mk

OPTIMIZE_TYPE=$(OPTIMIZE_TYPE_$(filter g, $(VARIANTS)))
OPTIMIZE_TYPE_g=none

