📄 makefile.win
字号:
#You must ensure nmake.exe, cl.exe, link.exe are in system path.#VCVARS32.bat#Under dosbox prompt#nmake -f Makefile.win##########################################CXXC = cl.exeCFLAGS = -nologo -O2 -EHsc -I. -D __WIN32__ -D _CRT_SECURE_NO_DEPRECATETARGET = windowsall: $(TARGET)\train.exe $(TARGET)\predict.exe$(TARGET)\train.exe: tron.obj linear.obj train.c blas\*.c $(CXX) $(CFLAGS) -Fe$(TARGET)\train.exe tron.obj linear.obj train.c blas\*.c$(TARGET)\predict.exe: tron.obj linear.obj predict.c blas\*.c $(CXX) $(CFLAGS) -Fe$(TARGET)\predict.exe tron.obj linear.obj predict.c blas\*.clinear.obj: linear.cpp linear.h $(CXX) $(CFLAGS) -c linear.cpptron.obj: tron.cpp tron.h $(CXX) $(CFLAGS) -c tron.cppclean: -erase /Q *.obj $(TARGET)\.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -