makefile

来自「涉及Fax/Mail/Voice通讯编程的一个程序」· 代码 · 共 85 行

TXT
85
字号
# Makefile for viewfax# Copyright (C) 1990, 1995  Frank D. Cringle.# This file is part of viewfax - g3/g4 fax processing software.#      # viewfax 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., 675 Mass Ave, Cambridge, MA 02139, USA.VERS = 2.4####### Site-specific definitions ######## Destination directories and installation program for make installBINDIR = /usr/local/binLIBDIR = /usr/local/libMANDIR	= /usr/local/man/man1INSTALL = /usr/ucb/installRM = rm -f# Location of help fileHELP = \"$(LIBDIR)/viewfax.tif\"# optimisation level, debug etcOPT = -g -O2 -Wno-uninitialized -ansi -pedantic# C compiler and libraries# vanilla sysv#CC = cc#CFLAGS = $(OPT) -DHELPFILE=$(HELP)#LDFLAGS = $(OPT)#LIBS = -lsocket# vanilla BSD#CC = cc#CFLAGS = -DBSD $(OPT) -DHELPFILE=$(HELP)#LDFLAGS = $(OPT)#LIBS =# sun solaris2 with gcc on supersparc:CC = gccCFLAGS = -Wall $(OPT) -DHELPFILE=$(HELP) -msupersparc -I/usr/openwin/includeLDFLAGS = $(OPT) -L/usr/openwin/lib -R/usr/openwin/libLIBS =####### End of configurable definitions #######OBJS = viewfax.o faxinput.o faxinit.o faxexpand.oviewfax:	$(OBJS)	$(CC) $(LDFLAGS) -o viewfax $(OBJS) -lX11 $(LIBS)g3hack:		g3hack.cinstall: viewfax	$(INSTALL) -s -m 755 viewfax $(BINDIR)	$(INSTALL) -m 644 viewfax.man $(MANDIR)/viewfax.1	$(INSTALL) -m 644 viewfax.tif $(LIBDIR)D = viewfax-$(VERS)FILES = $D/README $D/COPYING $D/ChangeLog $D/Imakefile $D/Makefile \	$D/faxexpand.c $D/faxexpand.h $D/faxinput.c $D/faxinit.c \	$D/viewfax.c $D/viewfax.man $D/viewfax.tif $D/g3hack.cviewfax.tif:	viewfax.ps g3hack	gs -sDEVICE=faxg3 -sOutputFile=viewfax.g3 -dNOPAUSE -q -dSAFER viewfax.ps -c quit	./g3hack -n 100 -o viewfax.g3s viewfax.g3	fax2tiff -M -4 -o viewfax.tif viewfax.g3s	$(RM) viewfax.g3 viewfax.g3star:;	(cd ..; tar cf - $(FILES) | gzip -9 >$D/$D.tar.gz)shar:;	(cd ..; shar -a -n$D -M -sfdc@cliwe.ping.de -c -o $D/part -l64 $(FILES))clean:;	$(RM) *.o *~ coreviewfax.o:	faxexpand.hfaxinput.o:	faxexpand.hfaxinit.o:	faxexpand.hfaxexpand.o:	faxexpand.hfaxcompress.o:	faxexpand.h

⌨️ 快捷键说明

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