1# @(#)$Id: Makefile,v 5.4 1999/09/11 19:02:33 mark Exp $ 2 3# icontact - image contact sheet maker 4# Copyright (C) 1992-1999 Mark B. Hanson (mbh@panix.com) 5# 6# This program is free software; you can redistribute it and/or modify 7# it under the terms of the GNU General Public License as published by 8# the Free Software Foundation; either version 2 of the License, or 9# (at your option) any later version. 10# 11# This program is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU General Public License for more details. 15# 16# You should have received a copy of the GNU General Public License 17# along with this program; if not, write to the Free Software 18# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 20BIN=/usr/local/bin 21MANEXT=1 22MAN=/usr/local/man/man$(MANEXT) 23 24CC=cc 25CFLAGS=-pipe -O2 -fno-strict-aliasing 26 27all: xvtoppm 28 29xvtoppm: xvtoppm.c 30 rm -f xvtoppm 31 $(CC) $(CFLAGS) xvtoppm.c -o xvtoppm 32 33install: all 34 cp icontact $(BIN) 35 chmod 0755 $(BIN)/icontact 36 cp xvtoppm $(BIN) 37 chmod 0755 $(BIN)/xvtoppm 38 cp icontact.1 $(MAN)/icontact.$(MANEXT) 39 chmod 0444 $(MAN)/icontact.$(MANEXT) 40 cp xvtoppm.1 $(MAN)/xvtoppm.$(MANEXT) 41 chmod 0444 $(MAN)/xvtoppm.$(MANEXT) 42 43clean: force 44 rm -f xvtoppm xvtoppm.o 45 46force: 47