Makefiled.osx 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. #
  2. # OSX debug makefile for new release 7 programs � Richard Dobson, CDP Ltd 2019
  3. #
  4. #
  5. CC=gcc
  6. CFLAGS= -g -Wall -mmacosx-version-min=10.9 -Dunix -DDEBUG_MAC -I ../include -I../../include
  7. SFSYS= ../../lib/libsfsysd.a
  8. CDP2K= ../../lib/libcdp2kd.a
  9. PROGS= cantord ceracud chanphased sfechod filtraged fractured glistend isolated iterfofd iterlined iterlinefd \
  10. madridd newdelayd newmorphd newsynthd newtexd packetd panoramad rejoind selfsimd shifterd shrinkd silendd \
  11. specgridsd specsphinxd spectrumd spectwind specvud subtractd superaccud tangentd transitd tremolod tunevaryd
  12. .c.o:
  13. $(CC) $(CFLAGS) -c $<
  14. #
  15. # targets
  16. #
  17. all: $(PROGS)
  18. cantord: cantor.o
  19. $(CC) $(CFLAGS) cantor.o -o cantord -lm $(SFSYS) $(CDP2K)
  20. ceracud: ceracu.o
  21. $(CC) $(CFLAGS) ceracu.o -o ceracud -lm $(SFSYS) $(CDP2K)
  22. chanphased: chanphase.o
  23. $(CC) $(CFLAGS) chanphase.o -o chanphased -lm $(SFSYS) $(CDP2K)
  24. sfechod: echo.o
  25. $(CC) $(CFLAGS) echo.o -o sfechod -lm $(SFSYS) $(CDP2K)
  26. filtraged: filtrage.o
  27. $(CC) $(CFLAGS) filtrage.o -o filtraged -lm $(SFSYS) $(CDP2K)
  28. fractured: fracture.o
  29. $(CC) $(CFLAGS) fracture.o -o fractured -lm /usr/local/lib/libaaio.a $(SFSYS) $(CDP2K)
  30. glistend: glisten.o
  31. $(CC) $(CFLAGS) glisten.o -o glistend -lm $(SFSYS) $(CDP2K)
  32. isolated: isolate.o
  33. $(CC) $(CFLAGS) isolate.o -o isolatded -lm $(SFSYS) $(CDP2K)
  34. iterfofd: iterfof.o
  35. $(CC) $(CFLAGS) iterfof.o -o iterfofd -lm /usr/local/lib/libaaio.a $(SFSYS) $(CDP2K)
  36. iterlined: iterline.o
  37. $(CC) $(CFLAGS) iterline.o -o iterlined -lm $(SFSYS) $(CDP2K)
  38. iterlinefd: iterlinef.o
  39. $(CC) $(CFLAGS) iterlinef.o -o iterlinefd -lm $(SFSYS) $(CDP2K)
  40. madridd: madrid.o
  41. $(CC) $(CFLAGS) madrid.o -o madridd -lm $(SFSYS) $(CDP2K)
  42. newdelayd: newdelay.o
  43. $(CC) $(CFLAGS) newdelay.o -o newdelayd -lm $(SFSYS) $(CDP2K)
  44. newmorphd: newmorph.o
  45. $(CC) $(CFLAGS) newmorph.o -o newmorphd -lm $(SFSYS) $(CDP2K)
  46. newsynthd: synthesis.o
  47. $(CC) $(CFLAGS) synthesis.o -o newsynthd -lm /usr/local/lib/libaaio.a $(SFSYS) $(CDP2K)
  48. newtexd: newtex.o
  49. $(CC) $(CFLAGS) newtex.o -o newtexd -lm /usr/local/lib/libaaio.a $(SFSYS) $(CDP2K)
  50. packetd: packet.o
  51. $(CC) $(CFLAGS) packet.o -o packetd -lm $(SFSYS) $(CDP2K)
  52. panoramad: panorama.o
  53. $(CC) $(CFLAGS) panorama.o -o panoramad -lm $(SFSYS) $(CDP2K)
  54. rejoind: rejoin.o
  55. $(CC) $(CFLAGS) rejoin.o -o rejoind -lm $(SFSYS) $(CDP2K)
  56. selfsimd: selfsim.o
  57. $(CC) $(CFLAGS) selfsim.o -o selfsimd -lm $(SFSYS) $(CDP2K)
  58. shifterd: shifter.o
  59. $(CC) $(CFLAGS) shifter.o -o shifterd -lm $(SFSYS) $(CDP2K)
  60. shrinkd: shrink.o
  61. $(CC) $(CFLAGS) shrink.o -o shrinkd -lm $(SFSYS) $(CDP2K)
  62. silendd: silend.o
  63. $(CC) $(CFLAGS) silend.o -o silendd -lm $(SFSYS) $(CDP2K)
  64. specgridsd: specgrids.o
  65. $(CC) $(CFLAGS) specgrids.o -o specgridsd -lm $(SFSYS) $(CDP2K)
  66. specsphinxd: specsphinx.o
  67. $(CC) $(CFLAGS) specsphinx.o -o specsphinxd -lm $(SFSYS) $(CDP2K)
  68. spectrumd: spectrum.o
  69. $(CC) $(CFLAGS) spectrum.o -o spectrumd -lm $(SFSYS) $(CDP2K)
  70. spectwind: spectwin.o
  71. $(CC) $(CFLAGS) spectwin.o -o spectwind -lm $(SFSYS) $(CDP2K)
  72. specvud: specvu.o
  73. $(CC) $(CFLAGS) specvu.o -o specvud -lm $(SFSYS) $(CDP2K)
  74. subtractd: subtract.o
  75. $(CC) $(CFLAGS) subtract.o -o subtractd -lm $(SFSYS) $(CDP2K)
  76. superaccud: superaccu.o
  77. $(CC) $(CFLAGS) superaccu.o -o superaccud -lm $(SFSYS) $(CDP2K)
  78. tangentd: tangent.o
  79. $(CC) $(CFLAGS) tangent.o -o tangentd -lm $(SFSYS) $(CDP2K)
  80. transitd: transit.o
  81. $(CC) $(CFLAGS) transit.o -o transitd -lm $(SFSYS) $(CDP2K)
  82. tremolod: tremolo.o
  83. $(CC) $(CFLAGS) tremolo.o -o tremolod -lm $(SFSYS) $(CDP2K)
  84. tunevaryd: tunevary.o
  85. $(CC) $(CFLAGS) tunevary.o -o tunevaryd -lm $(SFSYS) $(CDP2K)
  86. clean:
  87. rm -f $(PROGS)
  88. veryclean: clean
  89. rm -f *.o
  90. install: all
  91. cp $(PROGS) ../Debug
  92. #
  93. # dependencies
  94. #
  95. $(PROGS): ../include/standalone.h