#**************************************************************************
#* FILE NAME: makefile                        COPYRIGHT (c) Freescale 2006*
#*                                                                        *
#* DESCRIPTION: This is the makefile for the ETPU decimate function.      *
#*========================================================================*
#* MAKE: GNU make        VERSION: 3.0                                     *
#* AUTHOR: Jeff Loeliger                                                  *
#*                                                                        *
#* $Log: makefile,v $
#* Revision 1.1  2006/06/14 10:42:20  r47354
#* Initial revision.
#*
#*
#*........................................................................*
#* 1.0   G. Emerson  12/June/06    Initial version of file.               *
#**************************************************************************

##############################
#     ETPU compiler tools    #
# (Using ByteCraft compiler) #
##############################
ETPUCC = etpu_c
ETPUCCFLAGS = -q +l

ETPUINC = etpuc.h etpuc_common.h
ETPUFUNCS = etpuc_decimate.c
ETPUAUTO = cpu\etpu_decimate_auto.h


#############################
DEL = del /Q

#
#ETPU targets
#
etpu_decimate_function.h : etpuc_decimate_function.c $(ETPUINC) $(ETPUFUNCS) $(ETPUAUTO) makefile
	mkdir2 -p cpu
	$(ETPUCC) $< $(ETPUCCFLAGS)



#Dummy targets
cpu\etpu_decimate_auto.h:

#
clean:
	$(DEL) *.cod *.db *.ou1 *.blk *.db2 *.map *.hex *lst *.err *.elf __*.* *_CPU.* *.o *.___ etpu_decimate_function.h
	$(DEL) cpu\*.*




