makefile

来自「一个用于扫描邮件服务器的好程序」· 代码 · 共 57 行

TXT
57
字号
# P3PMail 1.2.2## (C) 2004 by Jack S. Lai <laitcg@cox.net>## It's intent is to parse dangerous html tags from email messages to make# them safe for viewing.## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## 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.  See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USACC=gcc#CFLAGS=-Wall -ggdbCFLAGS=-Wall -O2 $(OPTS)PREFIX=/usrDISTNAME=p3pmail-1.2.2docdir=$(PREFIX)/doc/$(DISTNAME)bindir=$(PREFIX)/binmandir=$(PREFIX)/man/man8OBJECTS=p3pmail.oPROGS=p3pmailLDFLAGS=-lresolvDOCS=AUTHORS CHANGELOG LICENSE INSTALL READMEall: $(PROGS)p3pmail: $(OBJECTS)	$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)install: p3pmail	@if test -d $(bindir); then echo "$(bindir) exists, not creating."; else mkdir -p $(bindir); fi	install -s -m 755 p3pmail $(bindir)	@if test -d $(docdir); then echo "$(docdir) exists, not creating."; else mkdir -p $(docdir); fi	install -m 644 $(DOCS) $(docdir)	install -m 644 p3pmail.8.gz $(mandir)clean:	rm -f $(OBJECTS) $(PROGS)uninstall:	@if [ -f $(bindir)/$(PROGS) ] ; then rm -f $(bindir)/$(PROGS) ; fi	@if [ -d $(docdir) ] ; then rm -rf $(docdir) ; fi	@if [ -f $(mandir)/$(PROGS).8.gz ] ; then rm -f $(mandir)/$(PROGS).8.gz ; fi.PHONY: clean install all tags fulltags dist dep depend

⌨️ 快捷键说明

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