# Add CGE units path. This will work for all targets except ppc64le
# Unfortunatly FPC does not allow to detect endianess here.
# So just add our path depending on processor and define CGE_FULL_VERSION.
# This should correctly handle cross compilation too.

#UNDEF CGE_FULL_TARGET
#IFDEF CPUARMEL
#DEFINE CGE_FULL_TARGET
-Fu/usr/lib/$fpctarget-gnueabi/castle-game-engine/fp-units/$fpcversion
#ENDIF

#IFDEF CPUARMHF
#DEFINE CGE_FULL_TARGET
-Fu/usr/lib/$fpctarget-gnueabihf/castle-game-engine/fp-units/$fpcversion
#ENDIF

#IFDEF CPUPOWERPC64
#DEFINE CGE_FULL_TARGET
-Fu/usr/lib/$fpccpule-$fpcos-gnu/castle-game-engine/fp-units/$fpcversion
#ENDIF

#IFNDEF CGE_FULL_TARGET
#DEFINE CGE_FULL_TARGET
-Fu/usr/lib/$fpctarget-gnu/castle-game-engine/fp-units/$fpcversion
#ENDIF
