home *** CD-ROM | disk | FTP | other *** search
/ Megazine / Megazine-1.iso / PROGRAMA / C / ZTIMER23 / SRC / ZTIMER / MAKEFILE < prev    next >
Encoding:
Text File  |  1996-02-20  |  1.1 KB  |  48 lines

  1. #############################################################################
  2. #
  3. #                                 Zen Timer
  4. #
  5. #                               From the book
  6. #                         "Zen of Assembly Language"
  7. #                            Volume 1, Knowledge
  8. #
  9. #                             by Michael Abrash
  10. #
  11. # Descripton:   Generic makefile for the Zen Timer Library. Requires the
  12. #               SciTech Software Makefile Utilities package to be
  13. #               installed.
  14. #
  15. # $Date:   20 Feb 1996 14:35:34  $ $Author:   KendallB  $
  16. #
  17. #############################################################################
  18.  
  19. # DOS extender dependant flags
  20.  
  21. CFLAGS          += $(DX_CFLAGS)
  22. ASFLAGS         += $(DX_ASFLAGS)
  23.  
  24. # Name of library and object files required to build it
  25.  
  26. .IF $(STKCALL)
  27. LIBFILE         = sztimer$L
  28. .ELSE
  29. LIBFILE         = ztimer$L
  30. .ENDIF
  31. OBJECTS         = lztimer$O ulztimer$O ztimer$O
  32.  
  33. # Name of executable files built
  34.  
  35. EXEFILES        = test$E testc$E
  36.  
  37. all: $(EXEFILES)
  38.  
  39. test$E: test$O $(LIBFILE)
  40. testc$E: testc$O $(LIBFILE)
  41.  
  42. # Define the list of object files to create dependency information for
  43.  
  44. DEPEND_OBJ      = $(OBJECTS) test$O testc$O
  45.  
  46. .INCLUDE: "$(SCITECH)\makedefs\common.mk"
  47.  
  48.