1#  -*-Makefile-*-
2
3
4#  This is the version of the make utility you wish to use.
5#  On some systems (BSD?) you might want this to be gmake.
6#MAKE=gmake
7MAKE=make
8
9
10VERSION=1.0.2
11
12CUR_DATE=`date '+%y.%m.%d'`
13
14ifeq "${PLATFORM}" ""
15   PLATFORM=x86
16endif
17
18## You may need to change this linux/include part.
19CCFLAGS = -g -D_GNU_SOURCE -Wall -I${HOME}/linux/include
20LDLIBS = # -lm #-lnsl # -lsocket
21
22ARM_TC_BIN = ${HOME}/Intrinsyc/bin
23ARM_TC_LIB = ${HOME}/Intrinsyc/lib
24
25ifeq "${PLATFORM}" "ARM"
26   #echo "Building for ARM platform."
27   STRIP=${ARM_TC_BIN}/arm-linux-strip
28   CC = ${ARM_TC_BIN}/arm-linux-gcc       # this is generally the c compiler, unused AFAIK
29   CCC = ${ARM_TC_BIN}/arm-linux-g++      # this is generally the c++ compiler
30else
31   #echo "Building for x86 platform."
32   STRIP=strip
33   CC = g++       # this is generally the c compiler, unused AFAIK
34   CCC = g++      # this is generally the c++ compiler
35endif
36