📄 makefile
字号:
!include <..\..\build-msvc/Makefile.config>OBJ_NAME = multi_socketsINCDIR = -I../../common/include/models -I../include -I$(BOOST_HOME)SRCDIR = ..\srcSRCCOMMONDIR = ..\..\common\srcCFLAGS = $(INCDIR) $(FLAGS)OBJS = $(OBJ_NAME).obj!IFDEF BOOST_HOME#.PHONY: clean all run check announceall: announce $(OBJ_NAME).exeannounce: @if not defined $(FLAG_BATCH) echo. , echo $(OBJ_NAME): # Notes: # 1. two lines starting @type filter out lines containing# "stopped by user" so that differences in messages between SystemC 2.2.0# and SystemC 2.2.1 are not significant. # 2. The full path to find is used as some users may have cygwin installed,# which includes another version of find# 3. find /v returns all lines that don't match. fc /w ignores (collapses)# white spacecheck: announce $(OBJ_NAME).exe @.\$(OBJ_NAME).exe > runtemp.log @type runtemp.log | $(WINDIR)\system32\find /v /i "stopped by user" >run.log @type ..\results\expected.log | $(WINDIR)\system32\find /v /i "stopped by user" >expected.log @(fc /w run.log expected.log > diff.log) & if ERRORLEVEL 1 (echo "***ERROR:" & type diff.log) else (echo OK) run: announce $(OBJ_NAME).exe @.\$(OBJ_NAME).exe$(OBJ_NAME).exe: $(OBJS) $(LD) /OUT:"$@" $(LDFLAGS) $(OBJS)$(OBJ_NAME).obj: $(SRCDIR)\$(OBJ_NAME).cpp $(CC) /c $(CFLAGS) %sclean: del $(OBJ_NAME).exe *.obj *.log *.idb *.pdb *ilk!ELSEall: @echo Variable BOOST_HOME not specified. Set it so that it points to your boost installation \(one level above /boost\).!ENDIF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -