# 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: # VectSum_Debug # VectSum_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.0 ifndef ADI_DSP_MAKE ADI_DSP_MAKE=C:/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 "VectSum_Debug" configuration # ifeq ($(MAKECMDGOALS),VectSum_Debug) VectSum_Debug : ./Debug/VectSum.dxe ./Debug/vectsum.doj :./vectsum.asm $(ADI_DSP_MAKE)/211xx/include/def21161.h @echo ".\vectsum.asm" $(VDSP)/easm21k.exe .\vectsum.asm -proc ADSP-21161 -g -o .\Debug\vectsum.doj -MM ./Debug/vectsum_test.doj :./vectsum_test.asm $(ADI_DSP_MAKE)/211xx/include/def21161.h input1.dat input2.dat @echo ".\vectsum_test.asm" $(VDSP)/easm21k.exe .\vectsum_test.asm -proc ADSP-21161 -g -o .\Debug\vectsum_test.doj -MM ./Debug/VectSum.dxe :./Debug/vectsum_test.doj ./Debug/vectsum.doj ./VectSum.ldf ./Debug/vectsum.doj ./Debug/vectsum_test.doj $(ADI_DSP_MAKE)/211xx/lib/libc161.dlb $(ADI_DSP_MAKE)/211xx/lib/libio.dlb $(ADI_DSP_MAKE)/211xx/lib/libdsp160.dlb @echo "Linking..." $(VDSP)/cc21k.exe .\Debug\vectsum.doj .\Debug\vectsum_test.doj -T .\VectSum.ldf -L .\Debug -flags-link -od,.\Debug -o .\Debug\VectSum.dxe -proc ADSP-21161 -flags-link -MM endif ifeq ($(MAKECMDGOALS),VectSum_Debug_clean) VectSum_Debug_clean: $(RM) ".\Debug\vectsum.doj" $(RM) ".\Debug\vectsum_test.doj" $(RM) ".\Debug\VectSum.dxe" $(RM) ".\Debug\*.ipa" $(RM) ".\Debug\*.opa" $(RM) ".\Debug\*.ti" $(RM) ".\*.rbld" endif