Source code of Windows XP (NT5)
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.

52 lines
1.2 KiB

  1. # SIM16 makefile
  2. # Initial version ??-Jan-91 by Chandan Chauhan
  3. #
  4. ########## Path definition so we find 16 bit tools ##########
  5. # Also works around stupid bug in RC 3.1 that doesn't allow rcpp.err to be
  6. # in a directory that is greater than 128 chars down the path, even if
  7. # rc 3.1 is running as an OS/2 app.
  8. PATH = $(_NTBINDIR)\private\tools16;$(PATH)
  9. .SUFFIXES:
  10. .SUFFIXES: .c .asm .h .inc .obj .lst .sys .exe .com .map .sym .def .lib
  11. NAME = sim16
  12. LIBS = ..\wow16\lib\libw ..\wow16\lib\mdllcew
  13. CC = cl16 -c -nologo -Asnw -G2sw -Zp -W2
  14. #ASM = masm -Mx -DSTACKSWITCH
  15. ASM = masm -Mx -t
  16. LINK = link16 /nod/noe/map/align:16
  17. .c.obj:
  18. $(CC) $*.c
  19. .asm.obj:
  20. $(ASM) $*;
  21. .map.sym:
  22. mapsym $*
  23. .def.lib:
  24. implib $*.lib $*.def
  25. goal: $(NAME).dll $(NAME).sym $(NAME).lib
  26. clean:
  27. if exist *.obj del *.obj
  28. if exist *.dll del *.dll
  29. if exist *.map del *.map
  30. if exist *.sym del *.sym
  31. if exist *.lib del *.lib
  32. sim16.obj: sim16.asm sim16.inc sim16.mac incs.inc
  33. siminit.obj: siminit.asm sim16.inc sim16.mac incs.inc
  34. sim16.dll: sim16.obj siminit.obj sim16.def
  35. $(LINK) sim16.obj siminit.obj,sim16.dll,sim16/map,$(LIBS),sim16.def;
  36. rc16 $(NAME).dll