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

📄 makefile.in

📁 linux下阅读源码的好工具
💻 IN
字号:
# Set this variable to the name of your C compilerCC=gcc# Provide optimization flages here. These settings are fine for egcs and# gcc >= 2.95. If you use an older gcc version, change -O3 to -O2. If you# use a non-gcc compiler, change this line to# CFLAGS=-OCFLAGS=-O3 -fomit-frame-pointer# Additional definitions you would like to pass to the compiler. You usually# can leave this line alone.DEFS=# The name of the linker. Usually, specifying the same name as the C compiler# is fine. Change this to "ld" if in doubt.LD=$(CC)# Additional flags you would like to pass to the linker. You usually can leave# this line alone.LDFLAGS=# Specify the name of your lex program here. If you have flex installed, it is# highly recommended that you leave this line alone. If you use AT&T lex,# change this line to "lex". You then also need to change the next variable,# see below.LEX=flex# Flags you pass to the lexer. These are flex-specific. If you use AT&T lex,# change this line to "LEXFLAGS="LEXFLAGS=-F -8# lex and flex require that you link against an additional library. If you use# AT&T lex, change this to "-ll".LEXLIB=-lfl# You can ignore the next lines if you do not want to build the filter# in a shared library. Unless you take part in the experimental glimpse# project that allows filters to be specified in shared libraries, you# can leave the rest of the makefile safely alone.#------------------------------------------------------------------------# If you build a shared library, some compilers, such as gcc, require you# to build "position-independent" (i.e. relocatable) code. Some other# compilers do not require anything. Check your compiler manual on how to# build shared libraries and clear this line if necessary.SHAREDCFLAGS=-fPIC# This line is passed to the linker, to indicate that it should build a# shared library. Consult your compiler manual on how to build shared# libraries, and change this line if necessary.SHAREDLDFLAGS=-shared# This line specifies the library, in which the functions for loading# a shared library at runtime reside. More specifically, look for the# library that defines dlopen, dlsym, and dlclose. DLLIB=-ldl# Do not change this lineSHAREDDEFS=-DSHARED_OBJECThtuml2txt: lex.yy.c	$(CC) $(CFLAGS) $(DEFS) -c lex.yy.c	$(LD) $(LDFLAGS) -o htuml2txt lex.yy.o $(LEXLIB)htuml2txt.so: lex.yy.c	$(CC) $(CFLAGS) $(DEFS) $(SHAREDCFLAGS) $(SHAREDDEFS) -c lex.yy.c	$(LD) $(LDFLAGS) $(SHAREDLDFLAGS) -o htuml2txt.so lex.yy.o $(LEXLIB)sotest: sotest.c	$(CC) $(CFLAGS) $(DEFS) -c sotest.c	$(LD) $(LDFLAGS) -o sotest sotest.o $(DLLIB)lex.yy.c: htuml2txt.lex	$(LEX) $(LEXFLAGS) htuml2txt.lexall: htuml2txt htuml2txt.soclean:	rm -f *.o lex.yy.c coredistclean: clean	rm -f htuml2txt htuml2txt.so Makefileinstall: alltest: all	echo "Doing regression test ..."alltest: test sotest	echo "Doing extended regression test ... "

⌨️ 快捷键说明

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