home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-12-11 | 981 b | 41 lines |
- #
- # File: debug\client\client.mk
- # Makefile for the 'debug' client program
- # This makefile runs in the following environment:
- # NetWare RPC 1.0, NetWare 2.1 or higher, DOS 3.3
- #
-
- COMMON=..\common
- CC=cl
- MODEL=S
- MLIB=C_LIBS
- CFLAGS=/A$(MODEL) /Od
- LFLAGS=/SE:256 /STACK:0X1000
- RPCC=rpcc
- NOBJS=
- LIBS=$(MODEL)rpc $(MODEL)nwspx
- INCS= /I..\debug
- RINCS=/I..\debug
-
- debug.h: $(COMMON)\debug.rpc ..\debug\debug_i.rpc
- $(RPCC) $(RINCS) /c $(COMMON)\debug.rpc /o cstubs.c
-
-
- cstubs.c: $(COMMON)\debug.rpc ..\debug\debug_i.rpc
- $(RPCC) $(RINCS) /c $(COMMON)\debug.rpc /o cstubs.c
-
- cstubs.obj: cstubs.c debug.h
- $(CC) $(CFLAGS) /c $(INCS) cstubs.c
-
- client.obj: client.c debug.h
- $(CC) $(CFLAGS) /c $(INCS) client.c
-
- client.exe: client.obj cstubs.obj
- # Create the response file for the linker
- echo client.obj cstubs.obj >client.lnk
- echo client.exe >>client.lnk
- echo $(LFLAGS) >>client.lnk
- echo $(LIBS) >>client.lnk
- link @client.lnk
- erase client.lnk
-