# Project:   Ispell (Languages)

#  Makefile for Ispell on RISC OS machines.


# ---------------- Edit this part of the file. -----------------

# Your favourite C compiler
CC = cc

# Where the installed binaries go.
BINDIR = Ispell:Library

# Define this to be whatever you use for installation.  If you don't have
# an install binary, use an Obey file that invokes Copy and Accesses the
# files appropriately.
INSTALL = <Prefix$Dir>.^.install

# ---------------------- Edits end here. ------------------------


# Toolflags:
CCflags = -o $@ -c -throwback $(DEFS)
Yaccflags =
Linkflags = -o $@
Squeezeflags = -o $@

LIBS = C:o.stubs


# Final targets:
all: Fix8Bit Merge

Fix8Bit:   o.fix8bit
        link $(linkflags) o.fix8bit $(LIBS)
        squeeze $(Squeezeflags) $@ 

Merge:      o.merge
        link $(linkflags) o.merge $(LIBS)
        squeeze $(Squeezeflags) $@ 

install: Merge
        $(INSTALL) LR ff8 Merge $(BINDIR) Merge
        
clean:
        -Wipe o.* ~CF~R~V
        -Copy ^. o. ~A~C~DFN~S~T~V

veryclean: clean
        -Wipe Fix8Bit ~CF~R~V
        -Wipe Merge ~CF~R~V


# User-editable dependencies:


# Static dependencies:
.SUFFIXES: .o
.c.o:;  $(CC) -c $(CCflags) $<


# Dynamic dependencies:
