# Makefile for the RISC OS version of GNU regex
CC=cc
CC_FLAGS=-Wp -throwback -IUnix: -JUnix: -Otime -D__riscos__ -DHAVE_CONFIG_H

## Rule Patterns ##

.SUFFIXES:	.c .o

.c.o:
	$(CC) $(CC_FLAGS) $(DEPEND) $(DEBUG) -c -o $@ $<

# Static dependencies:

libregex:	o.regex
	libfile -c -o libregex o.*

dist:	libregex
	zip -@9 <WebServe$ServeRoot>.archives.regex/zip < distfiles

clean:
	-wipe o.regex ~CF~V
	-wipe libregex ~CF~V
