⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.dep

📁 Nachos是个教学用的小型操作系统
💻 DEP
字号:
############################################################################## Machine-specific definitions## If you are not in the MFCF environment, you can either add a new# automatic test for your machine/OS type, or you should set the# necessary variables "manually" here############################################################################## unfortunately, command line arguments to uname are not# very consistent across UNIX flavours.  However, the following# seem to work almost everywhere in MFCF landosname = $(shell uname -s)osrelease = $(shell uname -r)hosttype = unknown# Test for x86 Linux # !!! COMMENT THE FOLLOWING LINES OUT IF BUILDING FOR SOLARIS HOST !!!# !!! ADD PATH TO CPP and CROSS COMPILERifeq ($(osname),Linux)# full path name of your cpp program i.e.: #CPP = /usr/local/nachos/lib/gcc-lib/decstation-ultrix/2.95.2/cppCPP = /usr/local/nachos/current/lib/gcc-lib/decstation-ultrix/2.7.2.1/cpp# directory in which your gcc cross-compiler lives i.e.: #GCCDIR = /usr/local/nachos/bin/decstation-ultrix-GCCDIR = /usr/local/nachos/current/bin/decstation-ultrix-LDFLAGS = -T script -NASFLAGS = -mips2CPPFLAGS = $(INCDIR)hosttype = x86Linuxendififeq ($(osname),Windows)CPP = /usr/local/nachosxdev/lib/gcc-lib/decstation-ultrix/2.95.3/cpp0# directory in which your gcc cross-compiler lives i.e.:GCCDIR = /usr/local/nachosxdev/bin/decstation-ultrix-LDFLAGS = -T script -NASFLAGS = -mips2CPPFLAGS = $(INCDIR)COFF2NOFF = ../../coff2noff/coff2noff.Windowshosttype = Windowsendif# Note:# If you are trying to build on MacOS X# try something like this, substituting whatever# uname -s returns on your machine for the XXX##ifeq ($(osname),XXX)#CPP = full path name of your cpp program#GCCDIR = directory in which your gcc cross-compiler lives#LDFLAGS = -T script -N#ASFLAGS = -mips2#CPPFLAGS = $(INCDIR)#COFF2NOFF = full pathname of your coff2noff program# Note: it has been moved to part of the Nachos distribution# COFF2NOFF = ../../coff2noff.mipsUltrix#hosttype = MacOS#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -