# 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: # PgoExample_Debug # PgoExample_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 "PgoExample_Debug" configuration # ifeq ($(MAKECMDGOALS),PgoExample_Debug) PgoExample_Debug : ./Debug/PgoExample.dxe ./Debug/PgoExample.doj :./PgoExample.c @echo ".\PgoExample.c" $(VDSP)/cc21k.exe -c .\PgoExample.c -O1 -Ov100 -g -no-multiline -double-size-32 -double-size-any -flags-compiler --diag_warning,implicit_func_decl .\dataset_1.pgo .\dataset_2.pgo .\dataset_3.pgo -proc ADSP-21161 -o .\Debug\PgoExample.doj -MM ./Debug/PgoExample.dxe :$(ADI_DSP_MAKE)/211xx/ldf/ADSP-21161.LDF $(ADI_DSP_MAKE)/211xx/lib/161_hdr.doj ./Debug/PgoExample.doj $(ADI_DSP_MAKE)/211xx/lib/libc161.dlb $(ADI_DSP_MAKE)/211xx/lib/libio.dlb $(ADI_DSP_MAKE)/211xx/lib/libdsp160.dlb $(ADI_DSP_MAKE)/211xx/lib/libcpp.dlb $(ADI_DSP_MAKE)/211xx/lib/libeh.dlb $(ADI_DSP_MAKE)/211xx/lib/libcpprt.dlb @echo "Linking..." $(VDSP)/cc21k.exe .\Debug\PgoExample.doj -L .\Debug -flags-link -od,.\Debug -o .\Debug\PgoExample.dxe -proc ADSP-21161 -MM endif ifeq ($(MAKECMDGOALS),PgoExample_Debug_clean) PgoExample_Debug_clean: $(RM) ".\Debug\PgoExample.doj" $(RM) ".\Debug\PgoExample.dxe" $(RM) ".\Debug\*.ipa" $(RM) ".\Debug\*.opa" $(RM) ".\Debug\*.ti" $(RM) ".\*.rbld" endif