Guest User

Untitled

a guest
May 4th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. 1:
  2. 2:
  3. 3:
  4. 4:
  5. 5:
  6. 6:
  7. 7:
  8.  
  9. 8:
  10. 9:
  11.  
  12. 10:
  13. 11:
  14. 12:
  15.  
  16. 13:
  17. 14:
  18.  
  19. 15:
  20. 16:
  21.  
  22. 17:
  23. 18:
  24. 19:
  25. 20:
  26. 21:
  27. 22:
  28.  
  29. 23:
  30. 24:
  31. 25:
  32. 26:
  33.  
  34. 27: #
  35. 28:
  36. 29:
  37. 30:
  38. 31:
  39. 32:
  40.  
  41. SRC = toCent.c
  42. OBJS = toCent.o
  43. EXEC = toCent
  44. LIB = -ltemp_conv
  45. RELLIB = -L../../../lib
  46. RELBIN = ../../../bin
  47. INCLUDE = -I../../../include
  48.  
  49. it: ${OBJS}
  50. ${CC} -o ${EXEC} ${OBJS} ${INCLUDE} ${RELLIB} ${LIB}
  51.  
  52. install: it
  53. rm -f ${RELBIN}/${EXEC}
  54. install -c ${RELBIN} -m 755 ${EXEC}
  55.  
  56. clean:
  57. rm -f *.o core
  58.  
  59. bare: clean
  60. rm -f ${EXEC} ${RELBIN}/${EXEC}
  61.  
  62. depend:
  63. ${CC} -xM ${SRC} ${INCLUDE} > dependlist
  64. sed -e '1,/^# DO NOT DELETE/!d' Makefile > /tmp/mm.tmp
  65. cat dependlist >> /tmp/mm.tmp
  66. mv /tmp/mm.tmp Makefile
  67. rm -f dependlist
  68.  
  69. .SUFFIXS : .c
  70. .c.o :
  71. ${CC} -c $< ${INCLUDE}
  72. rm -f ${EXEC} ${RELBIN}/${EXEC}
  73.  
  74. DO NOT DELETE THIS LINE - make depend uses it
  75. conv_to_cent.o: conv_to_cent.c
  76. conv_to_cent.o: /usr/include/stdio.h
  77. conv_to_cent.o: /usr/include/sys/feature_tests.h
  78. conv_to_cent.o: /usr/include/sys/va_list.h
  79. conv_to_cent.o: ../../../include/temp_conv.h
Advertisement
Add Comment
Please, Sign In to add comment