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

📄 makefile

📁 精通verilog HDL语言编程的一个不错的cpu 代码
💻
字号:
# Makefile generated by VCS to build your model# This file may be modified; VCS will not overwrite it unless -Mupdate is used# define default verilog source directory VSRC=..# Note: if make gives you errors about include, either get gmake, or# replace the following line with the contents of the file filelist,# EACH TIME IT CHANGES# included file defines OBJS, and is automatically generated by vcsinclude filelist# Choose name of executable PRODUCT=$(VSRC)/simv# Path to runtime libraryCMODLIB=RUNTIME=/synopsys/vcs6.0.1/sun_sparc_solaris_5.5.1/lib/libvcs$(VCS_LIBEXT).a# Select your favorite compiler# SOLARIS 2 : Use either VCS_CC=gcc or VCS=cc (if you have it)#VCS_CC=gcc -w  # GNU cc#VCS_CC=apcc -w # Apogee ccVCS_CC=cc -w   # Sun Pro cc# LoaderLD=/usr/ccs/bin/ld# Loader FlagsLDFLAGS=# C run time startupCRT0=# Machine specific librariesSYSLIBS=-lm -lc  -ldl# Default definesSHELL=/bin/shVCSTMPSPECARG=VCSTMPSPECENV=# NOTE: if you have little space in /tmp, but plenty in /foo,# and 1) you are using Sun's cc, uncomment the next line#VCSTMPSPECARG=-temp=/foo# or  2) you are using gcc, uncomment the next line#VCSTMPSPECENV=TMPDIR=/fooTMPSPECARG=$(VCSTMPSPECARG)TMPSPECENV=$(VCSTMPSPECENV)CC=$(TMPSPECENV) $(VCS_CC) $(TMPSPECARG)# C flags for compilationCFLAGS=-O -D__svr4__    LIBS=-lnsl -lsocket -ldl DOTLIBS=product : $(PRODUCT)	@echo $(PRODUCT) up to dateobjects : $(OBJS)clean   :	rm -f $(VCS_OBJS)clobber : clean	rm -f $(PRODUCT)$(PRODUCT) : $(OBJS) $(DOTLIBS) $(CMODLIB) $(RUNTIME)	-if [ -x $(PRODUCT) ]; then chmod -x $(PRODUCT); fi	$(LD) $(CRT0) -o $(PRODUCT) $(LDFLAGS) $(OBJS) $(LIBS)     $(CMODLIB) $(RUNTIME) $(SYSLIBS) 

⌨️ 快捷键说明

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