home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 11 / 11.iso / n / n001 / 2.ddi / EXAMPLES / TIMER / CLIENT / CLIENT.MK < prev   
Encoding:
Makefile  |  1989-12-11  |  1.0 KB  |  43 lines

  1. #
  2. # File: timer\client\client.mk
  3. # Makefile for the 'timer' client program
  4. # This makefile runs in the following environment:
  5. #    NetWare RPC 1.0, NetWare 2.1 or higher, DOS 3.3
  6. #
  7.  
  8. COMMON=..\common
  9. CC=cl
  10. MODEL=S
  11. MLIB=C_LIBS
  12. CFLAGS=/A$(MODEL) /Od
  13. LFLAGS=/SE:256 /STACK:0X1000
  14. RPCC=rpcc
  15. NOBJS=
  16. IOBJS=..\timer\timer_i.obj
  17. LIBS=$(MODEL)rpc $(MODEL)nwspx
  18. INCS= /I..\timer
  19. RINCS=/I..\timer
  20.  
  21. timer.h: $(COMMON)\timer.rpc ..\timer\timer_i.rpc
  22.     $(RPCC) $(RINCS) /c $(COMMON)\timer.rpc /o cstubs.c
  23.  
  24.  
  25. cstubs.c: $(COMMON)\timer.rpc ..\timer\timer_i.rpc
  26.     $(RPCC) $(RINCS) /c $(COMMON)\timer.rpc /o cstubs.c
  27.  
  28. cstubs.obj: cstubs.c timer.h
  29.     $(CC) $(CFLAGS) /c $(INCS) cstubs.c
  30.  
  31. client.obj: client.c timer.h
  32.     $(CC) $(CFLAGS) /c $(INCS) client.c
  33.  
  34. client.exe: client.obj cstubs.obj  $(IOBJS)
  35. # Create the response file for the linker
  36.     echo client.obj cstubs.obj + >client.lnk
  37.     echo $(IOBJS) $(NOBJS) >>client.lnk
  38.     echo client.exe  >>client.lnk
  39.     echo $(LFLAGS)  >>client.lnk
  40.     echo $(LIBS) >>client.lnk 
  41.     link @client.lnk
  42.     erase client.lnk
  43.