1
# ========================================================================
2
# Copyright 1988-2006 University of Washington
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
6
# You may obtain a copy of the License at
8
# http://www.apache.org/licenses/LICENSE-2.0
11
# ========================================================================
14
# Program: MTEST Makefile
16
# Author: Mark Crispin
17
# Networks and Distributed Computing
18
# Computing & Communications
19
# University of Washington
20
# Administration Building, AG-44
22
# Internet: MRC@CAC.Washington.EDU
24
# Date: 25 February 1996
25
# Last Edited: 30 August 2006
29
CCLIENTLIB = $C/c-client.a
32
# Get local definitions from c-client directory
35
CFLAGS = -I$C `cat $C/CFLAGS`
36
LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
40
mtest: $(CCLIENTLIB) mtest.o
41
$(CC) $(CFLAGS) -o mtest mtest.o $(LDFLAGS)
43
mtest.o: $C/mail.h $C/misc.h $C/osdep.h $C/rfc822.h $C/smtp.h $C/nntp.h
49
rm -f *.o mtest || true
51
# A monument to a hack of long ago and far away...