MAKEFILE 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #
  2. # $Source: f:/miner/source/bios/rcs/makefile $
  3. # $Revision: 1.18 $
  4. # $Author: john $
  5. # $Date: 1995/03/23 18:27:04 $
  6. #
  7. # Makefile for bios functions
  8. #
  9. LIBDIR = ..\main
  10. #
  11. CCFLAGS = /dNETWORK /dRELEASE /dNDEBUG
  12. # What to install, and where to install it
  13. INSTALL_TARGS = io.lib joy.h key.h mono.h mouse.h timer.h swift.h dpmi.h ipx.h
  14. # What to clean
  15. CLEAN_TARGS = $(OBJDIR)\*.obj
  16. # What libs to make
  17. LIBS = io
  18. # What test programs to make
  19. TEST_PROGS = demo
  20. # testj testk testm testms
  21. # What object files for the lib
  22. IO_OBJS = key.obj joy.obj mouse.obj timer.obj mono.obj joyc.obj dpmi.obj ipx.obj
  23. # What object files and libs for the test programs
  24. DEMO_SRCS = demo.c
  25. DEMO_LIBS = io.lib
  26. io.lib: $(IO_OBJS)
  27. wlib io.lib $(IO_OBJS)
  28. copy *.lib $(LIBDIR)
  29. cdrom.obj: cdrom.c
  30. wcc386 $(CCFLAGS) cdrom.c
  31. demo.obj: demo.c
  32. wcc386 $(CCFLAGS) demo.c
  33. dpmi.obj: dpmi.c
  34. wcc386 $(CCFLAGS) dpmi.c
  35. ipx.obj: ipx.c
  36. wcc386 $(CCFLAGS) ipx.c
  37. joyc.obj: joyc.c
  38. wcc386 $(CCFLAGS) joyc.c
  39. joy.obj: joy.asm
  40. masm joy.asm
  41. key.obj: key.c
  42. wcc386 $(CCFLAGS) key.c
  43. mono.obj: mono.c
  44. wcc386 $(CCFLAGS) mono.c
  45. mouse.obj: mouse.c
  46. wcc386 $(CCFLAGS) mouse.c
  47. testj.obj: testj.c
  48. wcc386 $(CCFLAGS) testj.c
  49. testk.obj: testk.c
  50. wcc386 $(CCFLAGS) testk.c
  51. testm.obj: testm.c
  52. wcc386 $(CCFLAGS) testm.c
  53. testmem.obj: testmem.c
  54. wcc386 $(CCFLAGS) testmem.c
  55. testms.obj: testms.c
  56. wcc386 $(CCFLAGS) testms.c
  57. testt.obj: testt.c
  58. wcc386 $(CCFLAGS) testt.c
  59. timer.obj: timer.asm
  60. masm timer.asm
  61.