📄 test.mak
字号:
# 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:
# TEST_Debug
# TEST_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=D:\Program Files\Analog Devices\VisualDSP 5.0
# $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 "TEST_Debug" configuration
#
ifeq ($(MAKECMDGOALS),TEST_Debug)
TEST_Debug : ./Debug/TEST.dxe
./Debug/test.doj :test.c $(VDSP)/TS/include/sysreg.h $(VDSP)/TS/include/defTS201.h $(VDSP)/TS/include/stdio.h $(VDSP)/TS/include/yvals.h $(VDSP)/TS/include/stdio_ts.h
@echo ".\test.c"
$(VDSP)/ccts.exe -c .\test.c -file-attr ProjectName=TEST -g -structs-do-not-overlap -no-multiline -char-size-32 -double-size-32 -warn-protos -proc ADSP-TS201 -o .\Debug\test.doj -MM
./Debug/TEST.dxe :$(VDSP)/TS/ldf/ADSP-TS201.ldf $(VDSP)/TS/lib/ts20x_rev_1.0/ts_hdr_TS201.doj ./Debug/test.doj $(VDSP)/TS/lib/ts20x_rev_1.0/meminit_ts20x.doj $(VDSP)/TS/lib/ts20x_rev_1.0/ts_exit_TS201.doj $(VDSP)/TS/lib/ts20x_rev_1.0/libc_TS201.dlb $(VDSP)/TS/lib/ts20x_rev_1.0/libio_TS201.dlb $(VDSP)/TS/lib/ts20x_rev_1.0/libdsp_TS201.dlb $(VDSP)/TS/lib/ts20x_rev_1.0/libcpprt_TS201.dlb
@echo "Linking..."
$(VDSP)/ccts.exe .\Debug\test.doj -L .\Debug -add-debug-libpaths -flags-link -od,.\Debug -o .\Debug\TEST.dxe -proc ADSP-TS201 -MM
endif
ifeq ($(MAKECMDGOALS),TEST_Debug_clean)
TEST_Debug_clean:
-$(RM) ".\Debug\test.doj"
-$(RM) ".\Debug\TEST.dxe"
-$(RM) ".\Debug\*.ipa"
-$(RM) ".\Debug\*.opa"
-$(RM) ".\Debug\*.ti"
-$(RM) ".\Debug\*.pgi"
-$(RM) ".\*.rbld"
endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -