imapext-2007
diff src/mtest/makefile.os2 @ 0:ada5e610ab86
imap-2007e
author | yuuji@gentei.org |
---|---|
date | Mon, 14 Sep 2009 15:17:45 +0900 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/mtest/makefile.os2 Mon Sep 14 15:17:45 2009 +0900 1.3 @@ -0,0 +1,53 @@ 1.4 +# ======================================================================== 1.5 +# Copyright 1988-2006 University of Washington 1.6 +# 1.7 +# Licensed under the Apache License, Version 2.0 (the "License"); 1.8 +# you may not use this file except in compliance with the License. 1.9 +# You may obtain a copy of the License at 1.10 +# 1.11 +# http://www.apache.org/licenses/LICENSE-2.0 1.12 +# 1.13 +# 1.14 +# ======================================================================== 1.15 + 1.16 + 1.17 +# Program: MTEST Makefile 1.18 +# 1.19 +# Author: Mark Crispin 1.20 +# Networks and Distributed Computing 1.21 +# Computing & Communications 1.22 +# University of Washington 1.23 +# Administration Building, AG-44 1.24 +# Seattle, WA 98195 1.25 +# Internet: MRC@CAC.Washington.EDU 1.26 +# 1.27 +# Date: 25 February 1996 1.28 +# Last Edited: 30 August 2006 1.29 + 1.30 +# Thanks to Nicholas Paul Sheppard who contributed the original version 1.31 + 1.32 +CC = gcc 1.33 +CFLAGS = -O2 -Zomf 1.34 +LD = gcc 1.35 +LDFLAGS = -s -Zomf -Zcrtdll 1.36 + 1.37 +C = ..\c-client 1.38 +CCLIENTLIB = $C\\c-client.lib 1.39 +LIBS = $(CCLIENTLIB) -l socket 1.40 + 1.41 +mtest.exe: $(CCLIENTLIB) mtest.obj 1.42 + $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) 1.43 + 1.44 +$(CCLIENTLIB): 1.45 + @echo Make c-client first 1.46 + false 1.47 + 1.48 +mtest.obj: mtest.c $C\mail.h $C\smtp.h $C\misc.h $C\osdep.h 1.49 + $(CC) $(CFLAGS) -I$C -o $@ -c $< 1.50 + 1.51 +clean: 1.52 + if exist *.obj del *.obj 1.53 + 1.54 +# A monument to a hack of long ago and far away... 1.55 +love: 1.56 + @echo not war?