# 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: # dotprod_Debug # dotprod_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 "dotprod_Debug" configuration # ifeq ($(MAKECMDGOALS),dotprod_Debug) dotprod_Debug : ./Debug/dotprod.dxe ./Debug/dotprod.doj :./dotprod.c @echo ".\dotprod.c" $(VDSP)/cc21k.exe -c .\dotprod.c -g -no-multiline -double-size-32 -flags-compiler --diag_warning,implicit_func_decl -proc ADSP-21161 -o .\Debug\dotprod.doj -MM ./Debug/dotprod_main.doj :./dotprod_main.c $(VDSP)/211xx/include/stdio.h $(VDSP)/211xx/include/stdlib.h $(VDSP)/211xx/include/math.h $(VDSP)/211xx/include/math_21xxx.h @echo ".\dotprod_main.c" $(VDSP)/cc21k.exe -c .\dotprod_main.c -g -no-multiline -double-size-32 -flags-compiler --diag_warning,implicit_func_decl -proc ADSP-21161 -o .\Debug\dotprod_main.doj -MM ./Debug/dotprod.dxe :./Debug/dotprod_main.doj ./Debug/dotprod.doj ./dotprod.ldf $(VDSP)/211xx/lib/161_hdr.doj ./Debug/dotprod.doj ./Debug/dotprod_main.doj $(VDSP)/211xx/lib/libc161.dlb $(VDSP)/211xx/lib/libio.dlb $(VDSP)/211xx/lib/libdsp160.dlb @echo "Linking..." $(VDSP)/cc21k.exe .\Debug\dotprod.doj .\Debug\dotprod_main.doj -T .\dotprod.ldf -L .\Debug -flags-link -od,.\Debug -o .\Debug\dotprod.dxe -proc ADSP-21161 -flags-link -MM endif ifeq ($(MAKECMDGOALS),dotprod_Debug_clean) dotprod_Debug_clean: $(RM) ".\Debug\dotprod.doj" $(RM) ".\Debug\dotprod_main.doj" $(RM) ".\Debug\dotprod.dxe" $(RM) ".\Debug\*.ipa" $(RM) ".\Debug\*.opa" $(RM) ".\Debug\*.ti" $(RM) ".\*.rbld" endif