📄 makefile
字号:
############################################################ File: Makefile# Author: Suman Banerjee <suman@cs.umd.edu># Date: July 31, 2001# Compile using: make# Terms: GPL## Uni implementation in myns (Makefile)## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.###########################################################BLANK = # make a blank space. DO NOT add anything to this lineCC = g++CPP = g++LINK = $(CPP)MKDEP = ../mkdepAR = ar rc $(BLANK)LEX = flexYACC = byaccYFLAGS = -dRANLIB = ranlibINSTALL = /usr/bin/install -cLN = lnTEST = testRM = rm -fINCLUDE = ../includeCCOPT = STATIC = LDFLAGS = $(STATIC) -gLDOUT = -o $(BLANK)LIBS =CFLAGS = -g -Wall -I$(INCLUDE)UNI = libuni.aall: $(UNI)# Explicitly define compilation rules since SunOS 4's make doesn't like gcc.# Also, gcc does not remove the .o before forking 'as', which can be a# problem if you don't own the file but can write to the directory..SUFFIXES: .cc # $(.SUFFIXES).cc.o: @rm -f $@ $(CPP) -c $(CFLAGS) -o $@ $*.cc.c.o: @rm -f $@ $(CC) -c $(CFLAGS) -o $@ $*.cOBJ_C = OBJ_CC = bse-agent.o coop-agent.o uninode.oOBJ = $(OBJ_CC) $(OBJ_C)SRC = $(OBJ_C:.o=.c) $(OBJ_CC:.o=.cc)CLEANFILES = libuni.a *.o core *.*~ $(UNI): $(OBJ) Makefile $(AR) $@ $(OBJ) $(LIBS) cp libuni.a ../libsclean: $(RM) $(CLEANFILES)depend: $(SRC) $(MKDEP) $(CFLAGS) $(SRC)# DO NOT DELETE THIS LINE -- mkdep uses it.# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.bse-agent.o: bse-agent.cc /usr/include/stdio.h \ /usr/include/sys/feature_tests.h /usr/include/sys/va_list.h \ /usr/include/stdlib.h \ /usr/imports/gcc-2.8.1/sparc-sun-solaris2.6/include/assert.h \ uninode.h ../include/node.h ../include/linked-list.h \ ../include/packet.h ../include/scheduler.h ../include/heap.h \ ../include/constants.h /usr/include/string.h ../include/timer.h \ ../include/rt.h app-packet.h bse-agent.h ../include/agent.hcoop-agent.o: coop-agent.cc /usr/include/stdio.h \ /usr/include/sys/feature_tests.h /usr/include/sys/va_list.h \ /usr/include/stdlib.h \ /usr/imports/gcc-2.8.1/sparc-sun-solaris2.6/include/assert.h \ uninode.h ../include/node.h ../include/linked-list.h \ ../include/packet.h ../include/scheduler.h ../include/heap.h \ ../include/constants.h /usr/include/string.h ../include/timer.h \ ../include/rt.h app-packet.h coop-agent.h ../include/agent.huninode.o: uninode.cc /usr/include/stdlib.h \ /usr/include/sys/feature_tests.h ../include/scheduler.h \ ../include/heap.h ../include/constants.h /usr/include/string.h \ /usr/imports/gcc-2.8.1/sparc-sun-solaris2.6/include/assert.h \ ../include/linked-list.h /usr/include/stdio.h \ /usr/include/sys/va_list.h uninode.h ../include/node.h \# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -