home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / filedtm.zip / filedtm.mak < prev   
Text File  |  1998-10-21  |  2KB  |  52 lines

  1. #===================================================================
  2. #
  3. #   filedtm.mak - File Date/Time example
  4. #   Copyright  IBM Corporation 1998
  5. #
  6. #===================================================================
  7.  
  8. CFLAGS          =      -Gd- -Se -Re -Ss -Ms -Gm+
  9. LFLAGS          =      /NOE /NOD /ALIGN:16 /EXEPACK
  10. LINK            =      icc /B"$(LFLAGS)" $(CFLAGS) -Fe
  11.  
  12. MTLIBS          =      CPPOM30.LIB + OS2386.LIB
  13.  
  14. #-------------------------------------------------------------------
  15.  
  16. HEADERS =
  17.  
  18. #-------------------------------------------------------------------
  19. #
  20. #   A list of all of the object files
  21. #
  22. #-------------------------------------------------------------------
  23.  
  24. OBJS = filedtm.obj
  25.  
  26. ALL_IPF =
  27.  
  28. #-------------------------------------------------------------------
  29. #   This section lists all files to be built by  make.  The
  30. #   makefile builds the executable as well as its associated help
  31. #   file.
  32. #-------------------------------------------------------------------
  33. all: filedtm.exe
  34.  
  35. #-------------------------------------------------------------------
  36. #   Dependencies
  37. #     This section lists all object files needed to be built for the
  38. #     application, along with the files it is dependent upon (e.g.
  39. #     its source and any header files).
  40. #-------------------------------------------------------------------
  41.  
  42. filedtm.obj:   filedtm.c $(HEADERS)
  43.  
  44. filedtm.exe: $(OBJS) filedtm.def
  45.    -$(CREATE_PATH)
  46.    $(LINK) $@ filedtm.def $(MTLIBS) $(OBJS)
  47.  
  48. clean :
  49.         @if exist *.obj del *.obj
  50.         @if exist *.dll del *.dll
  51.         @if exist *.exe del *.exe
  52.