#
#  Makefile for mimepps & iseps
#  
#
#  @(#)Makefile 1.0 95/06/07
#
# Copyright (c) Mikael Cam.
#
#
#  Permission is given to distribute these sources, as long as the
#  copyright messages are not removed, and no monies are exchanged.
#
#  No responsibility is taken for any errors inherent either
#  to the comments or the code of this program, but if reported
#  to me then an attempt will be made to fix them.
#
#  NOTE: The following definitions are expected to be overridden by the
#        calling Makefile in the parent directory.
#
#---------------------------------------------------------------------


CCOMP	 = -O
CC       = gcc
CCFLAGS  = $(CCOMP)
MIMEPBINDIR = /usr/local/bin
X11INCDIR       = -I$(OPENWINHOME)/include
X11LIBDIR       = -L$(OPENWINHOME)/lib
CDEFS	 = $(X11INCDIR)
LDFLAGS  = $(X11LIBDIR)

#=================================================================

.KEEP_STATE:

binaries: iseps mimepps

iseps: 
	$(CC) $(CFLAGS) -o iseps iseps.c $(CDEFS) $(LDFLAGS)

mimepps:
	$(CC) $(CFLAGS) -o mimepps mimepps.c

SHELL = /bin/sh

install:
	mv iseps $(MIMEPBINDIR)/iseps
	mv mimepps $(MIMEPBINDIR)/mimepps

clean:
	/bin/rm mimepps





