Annotation of mstools/samples/rpc/dict/makefile.dos, revision 1.1.1.1

1.1       root        1: #*************************************************************#
                      2: #**                                                         **#
                      3: #**                 Microsoft RPC Examples                  **#
                      4: #**                 Dictionary Application                  **#
                      5: #**            Copyright(c) Microsoft Corp. 1991            **#
                      6: #**                                                         **#
                      7: #*************************************************************#
                      8: 
                      9: ####################################################################
                     10: # ----- The following is an example of a makefile for DOS.
                     11: # ----- In the DOS environment just type nmake -f makefile.dos
                     12: ####################################################################
                     13: 
                     14: # ----- DOS Environment definitions -----
                     15: 
                     16: DOS = 1
                     17: 
                     18: !include ..\makefile.dos
                     19: 
                     20: CC = cl
                     21: EXPAND = -E
                     22: MIDL = midl
                     23: DEF =
                     24: OBJ = obj
                     25: 
                     26: CCFLAGS = -I . -I $(OSINCLUDE)
                     27: CCFLAGS0 = /AL
                     28: 
                     29: !ifdef DBG
                     30: CCFLAGS1 = /c /Zel /W2 /Od /Zi
                     31: !else
                     32: CCFLAGS1 = /c /Zel /W2 /Otnlgei
                     33: !endif
                     34: # DBG
                     35: 
                     36: .c.$(OBJ):
                     37:    $(CC) $(CCFLAGS) $(CCFLAGS0) $(CCFLAGS1) $(DEF) $<
                     38: 
                     39: !ifdef DBG
                     40: LINK = link @dictdbg.lnk
                     41: !else
                     42: LINK = link @dict.lnk
                     43: !endif
                     44: # DBG
                     45: 
                     46: PLAYLINK = link @play.lnk
                     47: 
                     48: CVTOMF = $(LINK)
                     49: 
                     50: all : client.exe play.exe
                     51: 
                     52: client.exe : client.$(OBJ) util0.$(OBJ) \
                     53:    replay_c.$(OBJ) replay_x.$(OBJ)
                     54:    $(LINK)
                     55: 
                     56: play.exe : play.$(OBJ) lutil0.$(OBJ) dict0.$(OBJ)
                     57:     $(PLAYLINK)
                     58: 
                     59: client.$(OBJ) : client.c util0.h replay.h
                     60: 
                     61: server.$(OBJ) : server.c util0.h replay.h
                     62: 
                     63: replay.$(OBJ) : util0.h replay.h replay.c
                     64: 
                     65: util0.$(OBJ) : util0.h util0.c
                     66: 
                     67: lutil0.$(OBJ) : util0.h util0.c
                     68:     copy util0.c lutil0.c
                     69:     $(CC) $(CCFLAGS) $(CCFLAGS0) $(CCFLAGS1) -D_LOCAL lutil0.c
                     70:     del lutil0.c
                     71: 
                     72: dict0.$(OBJ) : dict0.h dict0.c
                     73: 
                     74: play.$(OBJ) : play.c util0.h dict0.h
                     75: 
                     76: replay.h replay_s.c replay_c.c replay_y.c replay_x.c : replay.idl replay.acf
                     77:     $(MIDL) $(DEF) replay.idl
                     78: 
                     79: play : play.exe
                     80: 
                     81: clean :
                     82:     -del *.$(OBJ)
                     83:     -del replay.h
                     84:     -del replay_?.*
                     85: 
                     86: cleanall :
                     87:     -del *.$(OBJ)
                     88:     -del replay.h
                     89:     -del replay_?.*
                     90:     -del *.exe

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.