📄 makefile.sgi,v
字号:
head 1.1;access;symbols;locks; strict;comment @# @;1.1date 96.10.10.14.05.00; author vod; state Exp;branches;next ;desc@Added SGI Native compiler option@1.1log@Initial revision@text@## $Header: ## File: makefile.sgi# By: Alex Theo de Jong, NIST# Created: September 1995# Description:# Makefile for utilities and support functions/classes#OS = -DIRIX# DirectoriesPIDRDIR = .INSTBIN = ../../Bin/IrixINSTLIB = /home/vod/Code/Lib# ../../LibINSTINC = /home/vod/Code/Inc# ../../IncATMINC = /usr/fore/includeATMLIB = /usr/fore/lib# ToolsCP = cpMV = mvCHMOD = chmod 666RM = rm -fCC = gccCPP = g++ -V2.6.3# Compiler optionsEXTERNAL = # -fexternal-templatesATM = -DFORE_ATMPROTOTYPE = # -fno-strict-prototypeDEBUG = -ggdb -DTRACE # -DDEBUG WARNINGS = -Wall # List all warnings # -w # Suppress warnings #OPTIMIZE = # -O6 # -O2# Compiler flagsCPPFLAGS = $(DEBUG) $(WARNINGS) $(OPTIMIZE) $(OS) $(ATM) \ $(EXTERNAL) $(PROTOTYPE) -I$(PIDRDIR) -I$(INSTINC) -I$(ATMINC)# Loader/linker flagsLDFLAGS = -L$(INSTLIB) -L$(ATMLIB)LDLIBS = -lutil -latm# Things to compile# when using Sparc Compiler: SGIHDRS = String.h Regex.hSGIOBJS = String.o Regex.o gnu_error.o xexit.o xmalloc.o alloca.o rx.oOBJECTS = $(SGIOBJS) athread.o network.oHEADERS = $(SGIHDRS) athread.hh network.hh debug.hh error.hh util.hh TDPList.hhPROGRAMS = testLIBRARY = libutil.a# Compile linesall: $(PROGRAMS)install: $(LIBRARY)clean: installcleaninstallclean: $(RM) *.a *.o *.tmp *.~?~ core $(PROGRAMS)%.a: $(OBJECTS) $(AR) vrus $(INSTLIB)/$*.a $(OBJECTS) $(CP) *.hh $(INSTINC) $(CHMOD) $(INSTINC)/*.hh $(CP) *.h $(INSTINC) $(CHMOD) $(INSTINC)/*.h.cc.o: $(RM) $@@ $(CPP) $(CPPFLAGS) -c $<test: test.cc $(LIBRARY) $(RM) $@@ $(CPP) $(CPPFLAGS) -o test test.cc $(LDFLAGS) $(LDLIBS)# Dependenciesnetwork.o: athread.hh network.hhathread.o: athread.hhString.o: String.h Regex.o: Regex.h ansidecl.h libiberty.h builtin.hrx.o: rx.h ansidecl.h libiberty.halloca.o: ansidecl.h libiberty.hxmalloc.o: ansidecl.h libiberty.hxexit.o: ansidecl.h libiberty.hgnu_error.o: ansidecl.h@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -