Hi Ricky,
There is a makefile template in the pd's external repository [1]. There is also some tutorial on puredata.info that explains the libdir format [2] and the library template [3]. They are good starting points.
Concerning the Makefile system I wrote for Cream library, it is based on the pix_opencv building system, which based on Gem's one. All three are using are using autotools to generate Makefile. It allows to check for library and configure according to what is available on building machine. To start with autotool, you need at least the autogen.sh script (which you don't need to modify), a configure.ac file and one or more Makefile.am. To build, you have to first run ./autogen.sh to generate a configure script. Then run this script to produce Makefile and finally run make. They are plenty of tutorials on autotool over internet.
+ a
[1] : http://svn.code.sf.net/p/pure-data/svn/trunk/externals/template/ [2] : http://puredata.info/docs/developer/Libdir [3] : http://puredata.info/docs/developer/LibraryTemplate
-- do it yourself http://antoine.villeret.free.fr
2014-09-29 16:27 GMT+02:00 Ricky ricky@rickygraham.net:
De : Ricky ricky@rickygraham.net Sujet : Pd Makefile for Mac
Corps du message : Hi Antoine,
Pierre Guillot has suggested I contact you to see if you can provide a good working Makefile template and/or tutorial for Pd?
Best wishes, Ricky
-- Ce email a été envoyé via formulaire de contact le Antoine Villeret http://antoine.villeret.free.fr
I used the Makefile template successfully today, with one caveat
If you're using the Clang LLVM compiler, you must remove the flag -ftree-vectorizer-verbose=2 from the Makefile It is found under else # Mac OS X
Cheers, Ed
Ninja Jamm - a revolutionary new music remix app from Ninja Tune and Seeper, for iPhone and iPad http://www.ninjajamm.com/
Gemnotes-0.2: Live music notation for Pure Data, now with dynamics! http://sharktracks.co.uk/
On Monday, 29 September 2014, 16:04, Antoine Villeret antoine.villeret@gmail.com wrote:
Hi Ricky,
There is a makefile template in the pd's external repository [1]. There is also some tutorial on puredata.info that explains the libdir format [2] and the library template [3]. They are good starting points.
Concerning the Makefile system I wrote for Cream library, it is based on the pix_opencv building system, which based on Gem's one. All three are using are using autotools to generate Makefile. It allows to check for library and configure according to what is available on building machine. To start with autotool, you need at least the autogen.sh script (which you don't need to modify), a configure.ac file and one or more Makefile.am. To build, you have to first run ./autogen.sh to generate a configure script. Then run this script to produce Makefile and finally run make. They are plenty of tutorials on autotool over internet.
a
[1] : http://svn.code.sf.net/p/pure-data/svn/trunk/externals/template/ [2] : http://puredata.info/docs/developer/Libdir [3] : http://puredata.info/docs/developer/LibraryTemplate
-- do it yourself http://antoine.villeret.free.fr
2014-09-29 16:27 GMT+02:00 Ricky ricky@rickygraham.net:
De : Ricky ricky@rickygraham.net Sujet : Pd Makefile for Mac
Corps du message : Hi Antoine,
Pierre Guillot has suggested I contact you to see if you can provide a good working Makefile template and/or tutorial for Pd?
Best wishes, Ricky
-- Ce email a été envoyé via formulaire de contact le Antoine Villeret http://antoine.villeret.free.fr
Pd-dev mailing list Pd-dev@lists.iem.at http://lists.puredata.info/listinfo/pd-dev