# Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
#
# Permission to use, copy, modify, and distribute this material
# for any purpose and without fee is hereby granted, provided
# that the above copyright notice and this permission notice
# appear in all copies, and that the name of Bellcore not be
# used in advertising or publicity pertaining to this
# material without the specific, prior written permission
# of an authorized representative of Bellcore.  BELLCORE
# MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY
# OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS",
# WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
#
CC = dcc
# -gs is probably no longer needed, leave it in to be on the safe side.
#CFLAGS = -gs -ms -I. -ISYS:local/ReqTools/include -ISYS:local/kd_freq/include -DDICE -DKDFREQ
CFLAGS = -gs -ms -I. -ISYS:local/ReqTools/include -DDICE

LOCALCFLAGS= $(CFLAGS)

#LDLIBS = SYS:local/ReqTools/lib/reqtoolss.lib SYS:local/kd_freq/lib/kd_freq.lib
LDLIBS = SYS:local/ReqTools/lib/reqtoolss.lib

SRCS = alias.c winio.c f1.c f2.c f3.c mailer.c getline.c lockfile.c rtsup.c
OBJS = alias.o winio.o f1.o f2.o f3.o mailer.o getline.o lockfile.o rtsup.o
INCL = prefs.h protos.h
APPS = Elm

all: $(APPS)

Elm: $(OBJS)
        $(CC) $(LOCALCFLAGS) -o %(left) %(right) $(LDLIBS)

$(OBJS) : $(SRCS) $(INCL)
        $(CC) $(LOCALCFLAGS) -o %(left) %(*.c) -c

clean:
        -Delete $(APPS) *.o *.BAK
