# 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: # AD1836_talkthru_Debug # AD1836_talkthru_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=E:\Program Files\Analog Devices\VisualDSP 4.0 ifndef ADI_DSP_MAKE ADI_DSP_MAKE=E:/Program\ Files/Analog\ Devices/VisualDSP\ 4.0 endif # $VDSP is a gmake-friendly version of ADI_DIR empty:= space:= $(empty) $(empty) VDSP_INTERMEDIATE=$(subst \,/,$(ADI_DSP)) VDSP=$(subst $(space),\$(space),$(VDSP_INTERMEDIATE)) # Define the command to use to delete files (which is different on Win95/98 # and Windows NT/2000) ifeq ($(OS),Windows_NT) RM=cmd /C del /F /Q else RM=command /C del endif # # Begin "AD1836_talkthru_Debug" configuration # ifeq ($(MAKECMDGOALS),AD1836_talkthru_Debug) AD1836_talkthru_Debug : ./debug/AD1836_talkthru.dxe ./debug/AD1836_reg_init_viaSPORTs.doj :./AD1836_reg_init_viaSPORTs.asm $(VDSP)/211xx/include/def21161.h @echo ".\AD1836_reg_init_viaSPORTs.asm" $(VDSP)/easm21k.exe .\AD1836_reg_init_viaSPORTs.asm -proc ADSP-21161 -g -o .\debug\AD1836_reg_init_viaSPORTs.doj -MM ./debug/AD1852_SPI_init.doj :./AD1852_SPI_init.asm $(VDSP)/211xx/include/def21161.h @echo ".\AD1852_SPI_init.asm" $(VDSP)/easm21k.exe .\AD1852_SPI_init.asm -proc ADSP-21161 -g -o .\debug\AD1852_SPI_init.doj -MM ./debug/Clear_SPT_regs.doj :./Clear_SPT_regs.asm $(VDSP)/211xx/include/def21161.h @echo ".\Clear_SPT_regs.asm" $(VDSP)/easm21k.exe .\Clear_SPT_regs.asm -proc ADSP-21161 -g -o .\debug\Clear_SPT_regs.doj -MM ./debug/Init_21161_EZKit.doj :./Init_21161_EZKit.asm $(VDSP)/211xx/include/def21161.h @echo ".\Init_21161_EZKit.asm" $(VDSP)/easm21k.exe .\Init_21161_EZKit.asm -proc ADSP-21161 -g -o .\debug\Init_21161_EZKit.doj -MM ./debug/ISR_table.doj :./ISR_table.asm @echo ".\ISR_table.asm" $(VDSP)/easm21k.exe .\ISR_table.asm -proc ADSP-21161 -g -o .\debug\ISR_table.doj -MM ./debug/SDRAM_initialization.doj :./SDRAM_initialization.asm $(VDSP)/211xx/include/def21161.h @echo ".\SDRAM_initialization.asm" $(VDSP)/easm21k.exe .\SDRAM_initialization.asm -proc ADSP-21161 -g -o .\debug\SDRAM_initialization.doj -MM ./debug/SPORT02_TDM_Initialization.doj :./SPORT02_TDM_Initialization.asm $(VDSP)/211xx/include/def21161.h @echo ".\SPORT02_TDM_Initialization.asm" $(VDSP)/easm21k.exe .\SPORT02_TDM_Initialization.asm -proc ADSP-21161 -g -o .\debug\SPORT02_TDM_Initialization.doj -MM ./debug/SPT0_ISR_1836_Processing.doj :./SPT0_ISR_1836_Processing.asm $(VDSP)/211xx/include/def21161.h @echo ".\SPT0_ISR_1836_Processing.asm" $(VDSP)/easm21k.exe .\SPT0_ISR_1836_Processing.asm -proc ADSP-21161 -g -o .\debug\SPT0_ISR_1836_Processing.doj -MM ./debug/talkthru.doj :./talkthru.asm $(VDSP)/211xx/include/def21161.h @echo ".\talkthru.asm" $(VDSP)/easm21k.exe .\talkthru.asm -proc ADSP-21161 -g -o .\debug\talkthru.doj -MM ./debug/AD1836_talkthru.dxe :./debug/talkthru.doj ./debug/SPT0_ISR_1836_Processing.doj ./debug/SPORT02_TDM_Initialization.doj ./debug/SDRAM_initialization.doj ./debug/ISR_table.doj ./debug/Init_21161_EZKit.doj ./debug/Clear_SPT_regs.doj ./debug/AD1852_SPI_init.doj ./debug/AD1836_reg_init_viaSPORTs.doj ./21161_EZKIT_Lite.ldf ./debug/AD1836_reg_init_viaSPORTs.doj ./debug/AD1852_SPI_init.doj ./debug/Clear_SPT_regs.doj ./debug/Init_21161_EZKit.doj ./debug/ISR_table.doj ./debug/SDRAM_initialization.doj ./debug/SPORT02_TDM_Initialization.doj ./debug/SPT0_ISR_1836_Processing.doj ./debug/talkthru.doj $(VDSP)/211xx/lib/libc160.dlb $(VDSP)/211xx/lib/libio160_32.dlb $(VDSP)/211xx/lib/libdsp160.dlb $(VDSP)/211xx/lib/libcpp.dlb $(VDSP)/211xx/lib/libcpprt.dlb @echo "Linking..." $(VDSP)/cc21k.exe .\debug\AD1836_reg_init_viaSPORTs.doj .\debug\AD1852_SPI_init.doj .\debug\Clear_SPT_regs.doj .\debug\Init_21161_EZKit.doj .\debug\ISR_table.doj .\debug\SDRAM_initialization.doj .\debug\SPORT02_TDM_Initialization.doj .\debug\SPT0_ISR_1836_Processing.doj .\debug\talkthru.doj -T .\21161_EZKIT_Lite.ldf -L .\debug -flags-link -od,.\debug -o .\debug\AD1836_talkthru.dxe -proc ADSP-21161 -flags-link -MM endif ifeq ($(MAKECMDGOALS),AD1836_talkthru_Debug_clean) AD1836_talkthru_Debug_clean: $(RM) ".\debug\AD1836_reg_init_viaSPORTs.doj" $(RM) ".\debug\AD1852_SPI_init.doj" $(RM) ".\debug\Clear_SPT_regs.doj" $(RM) ".\debug\Init_21161_EZKit.doj" $(RM) ".\debug\ISR_table.doj" $(RM) ".\debug\SDRAM_initialization.doj" $(RM) ".\debug\SPORT02_TDM_Initialization.doj" $(RM) ".\debug\SPT0_ISR_1836_Processing.doj" $(RM) ".\debug\talkthru.doj" $(RM) ".\debug\AD1836_talkthru.dxe" $(RM) ".\debug\*.ipa" $(RM) ".\debug\*.opa" $(RM) ".\debug\*.ti" $(RM) ".\*.rbld" endif