home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / macutils.lzh / MACUTILS / HEXBIN / makefile.unix < prev    next >
Makefile  |  1995-10-18  |  3KB  |  131 lines

  1. CFLAGS=    -O $(CF)
  2.  
  3. SRCS =    hexbin.c \
  4.     dl.c \
  5.     hecx.c \
  6.     hqx.c \
  7.     mu.c \
  8.     buffer.c \
  9.     crc.c \
  10.     readline.c \
  11.     printhdr.c \
  12.     globals.c
  13.  
  14. OBJS =    hexbin.o \
  15.     dl.o \
  16.     hecx.o \
  17.     hqx.o \
  18.     mu.o \
  19.     buffer.o \
  20.     crc.o \
  21.     readline.o \
  22.     printhdr.o \
  23.     globals.o
  24.  
  25. LIB =    ../crc/libcrc.a
  26. TNAME =    ../util/transname
  27. BNAME =    ../util/backtrans
  28. UNAME =    ../util/util
  29. ONAME =    ../fileio/wrfile
  30. GNAME =    ../fileio/fileglob
  31. XOBJS =    $(TNAME).o $(BNAME).o $(UNAME).o $(ONAME).o $(GNAME).o
  32. XSRCS =    $(TNAME).c $(BNAME).c $(UNAME).c $(ONAME).c $(GNAME).c
  33. CRCS =    ../crc/binhex.c
  34.  
  35. hexbin:    $(OBJS) $(LIB) $(XOBJS)
  36.     $(CC) $(CFLAGS) -o hexbin $(OBJS) $(XOBJS) $(LIB)
  37.  
  38. $(LIB):    ../crc/makecrc.c
  39.     (cd ../crc; make CC=$(CC) CF="$(CF)" )
  40.  
  41. $(TNAME).o:    $(TNAME).c
  42.     (cd ../util; make CC=$(CC) CF="$(CF)" )
  43.  
  44. $(BNAME).o:    $(BNAME).c
  45.     (cd ../util; make CC=$(CC) CF="$(CF)" )
  46.  
  47. $(UNAME).o:    $(UNAME).c
  48.     (cd ../util; make CC=$(CC) CF="$(CF)" )
  49.  
  50. $(ONAME).o:    $(ONAME).c
  51.     (cd ../fileio; make CC=$(CC) CF="$(CF)" )
  52.  
  53. $(GNAME).o:    $(GNAME).c
  54.     (cd ../fileio; make CC=$(CC) CF="$(CF)" )
  55.  
  56. lint:
  57.     lint $(CF) $(LFLAGS) $(SRCS) $(XSRCS) $(CRCS)
  58.  
  59. clean:
  60.     -rm -f *.o
  61.  
  62. clobber:clean
  63.     -rm -f hexbin
  64.  
  65. hexbin.o:    globals.h
  66. hexbin.o:    crc.h
  67. hexbin.o:    readline.h
  68. hexbin.o:    ../util/masks.h
  69. hexbin.o:    ../util/util.h
  70. hexbin.o:    ../util/patchlevel.h
  71. hexbin.o:    ../fileio/wrfile.h
  72. hexbin.o:    ../fileio/wrfileopt.h
  73. hexbin.o:    ../fileio/machdr.h
  74. hexbin.o:    ../fileio/kind.h
  75. hexbin.o:    ../util/curtime.h
  76. hexbin.o:    hexbin.h
  77. dl.o:    hexbin.h
  78. dl.o:    globals.h
  79. dl.o:    crc.h
  80. dl.o:    readline.h
  81. dl.o:    ../fileio/machdr.h
  82. dl.o:    ../fileio/wrfile.h
  83. dl.o:    ../util/util.h
  84. dl.o:    buffer.h
  85. dl.o:    printhdr.h
  86. hecx.o:    hexbin.h
  87. hecx.o:    globals.h
  88. hecx.o:    crc.h
  89. hecx.o:    readline.h
  90. hecx.o:    ../util/masks.h
  91. hecx.o:    ../util/util.h
  92. hecx.o:    ../fileio/machdr.h
  93. hecx.o:    ../fileio/wrfile.h
  94. hecx.o:    buffer.h
  95. hecx.o:    printhdr.h
  96. hqx.o:    hexbin.h
  97. hqx.o:    globals.h
  98. hqx.o:    readline.h
  99. hqx.o:    crc.h
  100. hqx.o:    buffer.h
  101. hqx.o:    ../fileio/machdr.h
  102. hqx.o:    ../fileio/wrfile.h
  103. hqx.o:    ../util/util.h
  104. hqx.o:    printhdr.h
  105. mu.o:    hexbin.h
  106. mu.o:    globals.h
  107. mu.o:    readline.h
  108. mu.o:    ../util/masks.h
  109. mu.o:    ../util/util.h
  110. mu.o:    ../fileio/machdr.h
  111. mu.o:    ../fileio/wrfile.h
  112. mu.o:    buffer.h
  113. mu.o:    printhdr.h
  114. buffer.o:    globals.h
  115. buffer.o:    ../util/util.h
  116. buffer.o:    buffer.h
  117. buffer.o:    ../fileio/wrfile.h
  118. crc.o:    hexbin.h
  119. crc.o:    crc.h
  120. crc.o:    ../util/masks.h
  121. crc.o:    globals.h
  122. readline.o:    readline.h
  123. readline.o:    globals.h
  124. printhdr.o:    printhdr.h
  125. printhdr.o:    globals.h
  126. globals.o:    globals.h
  127. globals.o:    ../fileio/machdr.h
  128. globals.o:    ../fileio/wrfile.h
  129. globals.o:    ../fileio/kind.h
  130.  
  131.