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

📄 chirp.mak

📁 通过visual DSP
💻 MAK
字号:
# Generated by the VisualDSP++ IDDE

# Note:  Any changes made to this Makefile will be lost the next time the
# matching project file is loaded into the IDDE.  If you wish to preserve
# changes, rename this file and run it externally to the IDDE.

# The syntax of this Makefile is such that GNU Make v3.77 or higher is
# required.

# The current working directory should be the directory in which this
# Makefile resides.

# Supported targets:
#     chirp_Debug
#     chirp_Debug_clean

# Define this variable if you wish to run this Makefile on a host
# other than the host that created it and VisualDSP++ may be installed
# in a different directory.

ADI_DSP=C:\Program Files\Analog Devices\VisualDSP 4.5


# $VDSP is a gmake-friendly version of ADI_DIR

empty:=
space:= $(empty) $(empty)
VDSP_INTERMEDIATE=$(subst \,/,$(ADI_DSP))
VDSP=$(subst $(space),\$(space),$(VDSP_INTERMEDIATE))

RM=cmd /C del /F /Q

#
# Begin "chirp_Debug" configuration
#

ifeq ($(MAKECMDGOALS),chirp_Debug)

chirp_Debug : ./Debug/chirp.dxe 

Debug/chirp.doj :chirp.c $(VDSP)/211xx/include/def21161.h $(VDSP)/211xx/include/stdio.h $(VDSP)/211xx/include/stdio_21xxx.h $(VDSP)/211xx/include/math.h $(VDSP)/211xx/include/math_21xxx.h 
	@echo ".\chirp.c"
	$(VDSP)/cc21k.exe -c .\chirp.c -file-attr ProjectName=chirp -g -no-multiline -double-size-32 -warn-protos -proc ADSP-21161 -o .\Debug\chirp.doj -MM

./Debug/define.doj :./define.asm coeff_fft_im.dat coeff_fft_re.dat echo_im.dat echo_re.dat 
	@echo ".\define.asm"
	$(VDSP)/easm21k.exe .\define.asm -proc ADSP-21161 -g -o .\Debug\define.doj -MM

./Debug/FFT.doj :./FFT.asm $(VDSP)/211xx/include/asm_sprt.h $(VDSP)/211xx/include/def21161.h tc2.dat ts2.dat 
	@echo ".\FFT.asm"
	$(VDSP)/easm21k.exe .\FFT.asm -proc ADSP-21161 -g -o .\Debug\FFT.doj -MM

./Debug/module.doj :./module.asm $(VDSP)/211xx/include/asm_sprt.h $(VDSP)/211xx/include/def21161.h 
	@echo ".\module.asm"
	$(VDSP)/easm21k.exe .\module.asm -proc ADSP-21161 -g -o .\Debug\module.doj -MM

./Debug/chirp.dxe :chirp.ldf $(VDSP)/211xx/lib/161_hdr.doj ./Debug/chirp.doj ./Debug/define.doj ./Debug/FFT.doj ./Debug/module.doj $(VDSP)/211xx/lib/libc161.dlb $(VDSP)/211xx/lib/libio.dlb $(VDSP)/211xx/lib/libdsp160.dlb 
	@echo "Linking..."
	$(VDSP)/cc21k.exe .\Debug\chirp.doj .\Debug\define.doj .\Debug\FFT.doj .\Debug\module.doj -T .\chirp.ldf -L .\Debug -flags-link -od,.\Debug -o .\Debug\chirp.dxe -proc ADSP-21161 -flags-link -MM

endif

ifeq ($(MAKECMDGOALS),chirp_Debug_clean)

chirp_Debug_clean:
	-$(RM) "Debug\chirp.doj"
	-$(RM) ".\Debug\define.doj"
	-$(RM) ".\Debug\FFT.doj"
	-$(RM) ".\Debug\module.doj"
	-$(RM) ".\Debug\chirp.dxe"
	-$(RM) ".\Debug\*.ipa"
	-$(RM) ".\Debug\*.opa"
	-$(RM) ".\Debug\*.ti"
	-$(RM) ".\*.rbld"

endif


⌨️ 快捷键说明

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