Merge branch 'ical'
[alpine.git] / pico / osdep / makefile.wnt
blob0eb3d1e7c07c0ad56d74c131f301270079d8f3f6
1 # $Id: makefile.wnt 14098 2005-10-03 18:54:13Z jpf@u.washington.edu $
3 # ========================================================================
4 # Copyright 2006-2007 University of Washington
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 #     http://www.apache.org/licenses/LICENSE-2.0
12 # ========================================================================
16 # Makefile for WIN NT version of libpicoosd.lib
19 CC=cl
20 RM=del
21 CP=copy 
22 RC=rc
24 #includes symbol info for debugging 
25 CDEBUG= #-Zi -Od
26 LDEBUG= /DEBUG /DEBUGTYPE:CV
28 STDCFLAGS= -I..\..\include -I..\..\regex -nologo -MT -DWIN32 -DDOS -D_WINDOWS -DJOB_CONTROL -DMSC_MALLOC
30 CFLAGS= $(CDEBUG) $(STDCFLAGS) $(NET) $(EXTRACFLAGS)
32 LFLAGS= $(LDEBUG) $(EXTRALDFLAGS)
34 RCFLAGS= #-D_UNICODE -DUNICODE
36 LIBER=lib
37 LIBARGS=/nologo /verbose
39 HFILES= ../../include/system.h ../../include/general.h \
40         altedit.h chkpoint.h color.h filesys.h fsync.h \
41         getkey.h mswin.h mswin_tw.h mswin_aspell.h mswin_spell.h mouse.h \
42         newmail.h popen.h read.h \
43         shell.h signals.h spell.h terminal.h truncate.h \
44         tty.h
46 OFILES= altedit.obj chkpoint.obj color.obj filesys.obj fsync.obj \
47         getkey.obj msdlg.obj mswin.obj mswin_tw.obj mswin_aspell.obj mswin_spell.obj \
48         mouse.obj newmail.obj popen.obj \
49         read.obj shell.obj signals.obj spell.obj terminal.obj truncate.obj \
50         tty.obj
52 all:    libpicoosd.lib mswin.res
54 .c.obj:
55         $(CC) -c $(CFLAGS) "$(MAKEDIR)"\$*.c
57 $(OFILES):      $(HFILES)
59 libpicoosd.lib: $(OFILES)
60                 $(RM) libpicoosd.lib || rem
61                 $(LIBER) /out:libpicoosd.lib $(OFILES)
63 mswin.res:  mswin.rc pico.ico mswinhnd.cur resource.h
64         $(RC) $(RCFLAGS) /fo mswin.res mswin.rc
66 clean:
67         $(RM) *.lib
68         $(RM) *.obj
69         $(RM) mswin.res