home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-12-11 | 943 b | 40 lines |
- #
- # File: tutorial\client\client.mk
- # Makefile for the 'tutorial' 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=
- RINCS=
-
- database.h: $(COMMON)\database.rpc
- $(RPCC) $(RINCS) /c $(COMMON)\database.rpc /o cstubs.c
-
- cstubs.c: $(COMMON)\database.rpc
- $(RPCC) $(RINCS) /c $(COMMON)\database.rpc /o cstubs.c
-
- cstubs.obj: cstubs.c database.h
- $(CC) $(CFLAGS) /c $(INCS) cstubs.c
-
- client.obj: client.c database.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
-