#########################################################################
#               INTEL CORPORATION PROPRIETARY INFORMATION
#  This software is supplied under the terms of a license agreement or
#  nondisclosure agreement with Intel Corporation and may not be copied
#  or disclosed except in accordance with the terms of that agreement.
#        Copyright (c) 2001-2003 Intel Corporation.  All Rights Reserved.
#
# Linux makefile for IPP signal generation sample code 

# Path to source files
SOURCES = SigGen.c signal.c 

# Paths to IPP libraries and include files 
IPPLIBPATH =  /opt/intel/ipp41/pca_wmmx/lib/mvlcee
IPPINCPATH =  /opt/intel/ipp41/pca_wmmx/include

# Path for binary output file
OUTPATH = ./
APPNAME = SigGen

# Use release library after application debugging has been completed 
IPPDSPLIB = ippSP_WMMX41BLNX_r.a

OBJ = $(SOURCES:.c=.o)
CC = /opt/mvlcee/devkit/arm/iwmmxt_le/bin/iwmmxt_le-gcc
CC_SWITCHES = -I $(IPPINCPATH) -O3 -mcpu=xscale  -mtune=xscale  -msoft-float
PGM = $(OUTPATH)/$(APPNAME)

%.o: %.c Makefile
	$(CC) $(CC_SWITCHES) -c $< -o $@

$(PGM):	$(OBJ) Makefile
	$(CC) -o $(PGM) $(OBJ) $(IPPLIBPATH)/$(IPPDSPLIB)
clean:
	-rm $(OBJ)














