# Makefile for pbmextras programs. # # Copyright (C) 1989, 1991, 1994, 1999 by Jef Poskanzer. # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose and without fee is hereby granted, provided # that the above copyright notice appear in all copies and that both that # copyright notice and this permission notice appear in supporting # documentation. This software is provided "as is" without express or # implied warranty. # Default values for inherited defines. CC = cc CFLAGS = -O -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long LDFLAGS = -s RGBDEF = -DRGB_DB=\"/usr/lib/X11/rgb\" INSTBINS = /usr/local/bin/pbmextras INSTSCRIPTS = $(INSTBINS) INSTMANS1 = /usr/local/man/man1 SUFFMANS1 = 1 MANCP = cp all: merge install: all install.merge install.scripts install.man INCLUDE = -I../inc ALLCFLAGS = $(CFLAGS) $(RGBDEF) $(INCLUDE) ALLLDFLAGS = -L. $(LDFLAGS)