home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / utilities / utilsm / makealf / Source / Makefile < prev   
Makefile  |  1994-12-17  |  1KB  |  62 lines

  1. # Makefile for makealf distribution
  2.  
  3. # Things you might need to change:
  4. ASM    = as        # your assembler
  5. CC    = cc        # your C compiler
  6. INSTDIR    = $.bin2# where you want the executables
  7.  
  8. all: makealf alfdir alfsymt chunklist chunkread
  9.  
  10. squeeze:
  11.   squeeze makealf
  12.  
  13. install:
  14.   copy makealf $(INSTDIR).makealf f~c
  15.   copy alfdir $(INSTDIR).alfdir f~c
  16.   copy alfsymt $(INSTDIR).alfsymt f~c
  17.   copy chunklist $(INSTDIR).chunklist f~c
  18.   copy chunkread $(INSTDIR).chunkread f~c
  19.  
  20. # CAUTION! If you have no assembler, change the first line of the following
  21. clean:
  22.   wipe o.* ~c
  23.   remove makealf  # you may want to lose these 5 lines
  24.   remove alfdir
  25.   remove alfsymt
  26.   remove chunklist
  27.   remove chunkread
  28.  
  29. #---------------------------------------------------------------------------
  30.  
  31. # The programs themselves
  32.  
  33. makealf: o.makealf o.finfo o.lowfile
  34.   $(CC) -o makeALF o.makealf o.finfo o.lowfile
  35.  
  36. alfdir: b.alfdir
  37.   /b.alfdir
  38.  
  39. alfsymt: b.alfsymt
  40.   /b.alfsymt
  41.  
  42. chunklist: b.chunklist
  43.   /b.chunklist
  44.  
  45. chunkread: b.chunkread
  46.   /b.chunkread
  47.  
  48.  
  49. # Object files for the programs themselves
  50.  
  51. o.makealf: c.makealf h.finfo h.lowfile
  52.   $(CC) -c c.makealf
  53.  
  54.  
  55. # Object files for useful low-level functions
  56.  
  57. o.finfo: s.finfo
  58.   $(ASM) s.finfo
  59.  
  60. o.lowfile: s.lowfile
  61.   $(ASM) s.lowfile
  62.