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
24 #includes symbol info for debugging
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
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 \
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 \
52 all: libpicoosd.lib mswin.res
55 $(CC) -c $(CFLAGS) "$(MAKEDIR)"\$*.c
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