⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 mpc55**系列芯片的例程 包括SCI,SPI,TIMER,FIT,EDMA等几乎所有功能的实现
💻
字号:
#**************************************************************************
#* FILE NAME: makefile                        COPYRIGHT (c) MOTOROLA 2003 *
#*                                                                        *
#* DESCRIPTION: This is the makefile for the ETPU set1 standard set of    *
#* functions.                                                             *
#*========================================================================*
#* MAKE: GNU make        VERSION: 3.79.1                                  *
#* AUTHOR: Jeff Loeliger                                                  *
#*                                                                        *
#* $Log: makefile,v $
#* Revision 1.4  2004/11/02 16:36:04  r12110
#* -Updated for all current functions.
#* -Updated to clear \cpu on clean.
#* -Updated to use cpu in dependency.
#*
#* Revision 1.3  2004/11/02 15:21:24  r12110
#* -Removed path for etpu_c, must be in  $PATH
#* -Added mkdir2 to create cpu subdirectory
#*
#* Revision 1.2  2004/11/02 14:06:22  r12110
#* Updated for functions in the set.
#*
#* Revision 1.1  2004/11/01 15:52:25  r12110
#* No changes to code, just updated for CVS and checked into CVS.
#*
#*........................................................................*
#* 1.0   J. Loeliger  15/Sep/03    Initial version of file.               *
#**************************************************************************

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

ETPUINC = etpuc.h etpuc_common.h
ETPUFUNCS =  etpuc_gpio.c etpuc_pwm.c etpuc_ic.c etpuc_ppa.c etpuc_uart.c etpuc_qom.c etpuc_sm.c \
        etpuc_spi.c etpuc_test.c
ETPUAUTO = cpu\etpu_gpio_auto.h cpu\etpu_pwm_auto.h cpu\etpu_ic_auto.h cpu\etpu_ppa_auto.h \
        cpu\etpu_uart_auto.h cpu\etpu_qom_auto.h cpu\etpu_sm_auto.h cpu\etpu_spi_auto.h \
        cpu\etpu_test_auto.h


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

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



#Dummy targets
cpu\etpu_gpio_auto.h:
cpu\etpu_pwm_auto.h:
cpu\etpu_ic_auto.h:
cpu\etpu_ppa_auto.h:
cpu\etpu_uart_auto.h:
cpu\etpu_qom_auto.h:
cpu\etpu_sm_auto.h:
cpu\etpu_spi_auto.h:
cpu\etpu_test_auto.h:

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




⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -