Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.0 KiB

  1. # Makefile for 16bits module of third part apps making bop calls
  2. #
  3. ########## Path definition so we find 16 bit tools ##########
  4. # Also works around stupid bug in RC 3.1 that doesn't allow rcpp.err to be
  5. # in a directory that is greater than 128 chars down the path, even if
  6. # rc 3.1 is running as an OS/2 app.
  7. PATH = $(_NTBINDIR)\private\tools16;$(PATH)
  8. .SUFFIXES:
  9. .SUFFIXES: .c .obj .lst .exe .exc .exs .com .sal .cod .sil .inc .skl .cla .cl1 .ctl .asm .idx .msg
  10. MAKE =nmake
  11. asm =masm
  12. awarn =-W1
  13. aflags =-Mx -t $(awarn) $(extasw)
  14. ainc =-I.
  15. link_opts = /MAP
  16. LINK =link
  17. exelink =/E
  18. .asm.obj:
  19. $(asm) $(ainc) $(aflags) $*.asm;
  20. .asm.lst:
  21. $(asm) -l $(ainc) $(aflags) $*.asm;
  22. all: 16bits.exe
  23. clean:
  24. if exist *.obj del *.obj
  25. if exist *.exe del *.exe
  26. if exist *.map del *.map
  27. if exist *.sym del *.sym
  28. if exist *.exe del *.exe
  29. 16bits.exe: 16bits.obj
  30. link16 $(link_opts) 16bits.obj, 16bits.exe, 16bits.map;
  31. 16bits.obj: 16bits.inc