#########################################################################
#               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/ipp/5.0/pca_wmmx/lib/pvkit
IPPINCPATH =  /opt/intel/ipp/5.0/pca_wmmx/include

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

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

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

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

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














