📄 makefile
字号:
# Makefile for http_get# CONFIGURE: If you are using a SystemV-based operating system, such as# Solaris, you will need to uncomment this definition.#SYSV_LIBS = -lnsl -lsocket# CONFIGURE: If you want to compile in support for https, uncomment these# definitions. You will need to have already built OpenSSL, available at# http://www.openssl.org/ Make sure the SSL_TREE definition points to the# tree with your OpenSSL installation - depending on how you installed it,# it may be in /usr/local instead of /usr/local/ssl.#SSL_TREE = /usr/local/ssl#SSL_DEFS = -DUSE_SSL#SSL_INC = -I$(SSL_TREE)/include#SSL_LIBS = -L$(SSL_TREE)/lib -lssl -lcryptoBINDIR = /usr/local/binMANDIR = /usr/local/man/man1CC = gccCFLAGS = -Wall -O $(SSL_DEFS) $(SSL_INC)#CFLAGS = -Wall -g $(SSL_DEFS) $(SSL_INC)LDFLAGS = -s $(SSL_LIBS) $(SYSV_LIBS)#LDFLAGS = -g $(SSL_LIBS) $(SYSV_LIBS)all: http_gethttp_get: http_get.c $(CC) $(CFLAGS) http_get.c $(LDFLAGS) -o http_getinstall: all rm -f $(BINDIR)/http_get cp http_get $(BINDIR) rm -f $(MANDIR)/http_get.1 cp http_get.1 $(MANDIR)clean: rm -f http_get *.o core core.* *.core
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -