CC=cc
LINK=link
DEPEND=-depend !Depend
CC_FLAGS=-Wp -throwback -Otime -IUnix: -JUnix: -D__riscos__ -DHAVE_CONFIG_H
LD_FLAGS=Unix:o.unixlib
OBJS=argvfactory.o \
	defaultkey.o \
	guessarmortype.o \
	main.o \
	mygetopt.o \
	pgpopts.o \
	support.o

## Rule Patterns ##

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

# Static dependencies:

pgpgpg: $(OBJS)
	$(LINK) $(OBJS) $(LD_FLAGS) -o pgpgpg
	-ifthere run:squeeze then squeeze pgpgpg

dist:	pgpgpg
	ifthere <WebServe$ServeRoot>.archives.pgpgpg/zip then wipe <WebServe$ServeRoot>.archives.pgpgpg/zip ~C~V
	zip -r9 <WebServe$ServeRoot>.archives.pgpgpg/zip c.* docs.* h.* Makefile pgpgpg ReadMe
	zip -u9 <WebServe$ServeRoot>.archives.pgpgpg/zip o

clean:
	-wipe o.* ~CFR~V
	-wipe pgpgpg ~CFR~V

# Dynamic dependencies:
