MAKEFILE 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # $Source: f:/miner/source/rcs/makefile $
  3. # $Revision: 1.9 $
  4. # $Author: matt $
  5. # $Date: 1996/12/05 19:03:06 $
  6. #
  7. # Makefile for Descent libraries
  8. #
  9. # Subdirs to make for the DOS libraries
  10. SUBSYSTEMS_DOS = includes misc mem fix cfile pa_null 2d vga bios iff div \
  11. ui vecmat 3d texmap tactile unarj sosdigi sosmidi
  12. # Subdirs to make for the Win95 libraries
  13. SUBSYSTEMS_WIN = includes misc mem fix cfile pa_null 2d vga novga iff div \
  14. vecmat tactile win95 3d texmap unarj
  15. # All subdirs. Needed for clean to work
  16. SUBSYSTEMS = includes misc mem fix cfile pa_null 2d vga bios iff div \
  17. ui vecmat 3d texmap tactile unarj sosdigi sosmidi win95 novga
  18. # What to make in the subdirs if nothing specified
  19. SUBTARGETS = optimize no_mono no_debug linstall #for release
  20. ##SUBTARGETS = linstall #for debugging
  21. # When making clean here, delete libs
  22. CLEAN_TARGS = lib\*.lib
  23. real_clean .NODEFAULT:
  24. make clean
  25. del lib\*.h
  26. del lib\*.inc
  27. %if %exists(lib\win)
  28. del lib\win\*.h
  29. del lib\win\*.inc
  30. del lib\win\*.lib
  31. %endif
  32. # If no targs specified, exit with message
  33. default:
  34. @%error 1 Error: You must specify either DOS or WIN
  35. # Build libs for DOS
  36. dos:
  37. (cd bios;make linstallh)
  38. make SUBSYSTEMS=$$(SUBSYSTEMS_DOS) all
  39. # Build libs for Win
  40. win:
  41. (cd bios;make linstallh)
  42. (cd win95;make linstallh)
  43. make SUBSYSTEMS=$$(SUBSYSTEMS_WIN) all
  44. #all Miner makefiles should include this
  45. %include $(INIT)\makefile.def