# 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: # knightrider_Debug # knightrider_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 "knightrider_Debug" configuration # ifeq ($(MAKECMDGOALS),knightrider_Debug) knightrider_Debug : Debug/knightrider.dxe ./Debug/main.doj :./main.asm $(VDSP)/211xx/include/def21161.h @echo ".\main.asm" $(VDSP)/easm21k.exe .\main.asm -proc ADSP-21161 -g -o .\Debug\main.doj -MM Debug/knightrider.dxe :blink.ldf ./Debug/main.doj @echo "Linking..." $(VDSP)/cc21k.exe .\Debug\main.doj -T .\blink.ldf -L .\Debug -flags-link -od,.\Debug -o .\Debug\knightrider.dxe -proc ADSP-21161 -flags-link -MM endif ifeq ($(MAKECMDGOALS),knightrider_Debug_clean) knightrider_Debug_clean: -$(RM) ".\Debug\main.doj" -$(RM) "Debug\knightrider.dxe" -$(RM) ".\Debug\*.ipa" -$(RM) ".\Debug\*.opa" -$(RM) ".\Debug\*.ti" -$(RM) ".\*.rbld" endif