[PD] newbie learning how to 'make'

Martin Peach martinrp at vax2.concordia.ca
Wed Jun 16 19:20:46 CEST 2004


That's a very good tutorial but it's still missing the part "How to Build an
External". Most people seem to grab a makefile from some other external and
morph it until it works for theirs. In your case you wiill need to remove
every instance of "../src/", since your source code is in the same directory
as the makefile ( or else make a directory named "src", put your source
files in it, make another directory with any legal name at the same level as
src, and put the makefile in that.). You may also need to modify the
INCLUDES line to include the path to m_pd.h and whatever it refers to.

Martin

----- Original Message ----- 
From: "chun lee" <leechun at leechun.freeserve.co.uk>
To: "Pd list" <pd-list at iem.at>
Sent: Wednesday, June 16, 2004 12:48 PM
Subject: [PD] newbie learning how to 'make'


> hi there:
>
> i am just learning how to compile pd externals and got a few questions.
>
> i got the makefile from
>
http://cvs.sourceforge.net/viewcvs.py/*checkout*/pure-data/externals/build/linux/makefile?rev=1.19
>
> and a hello_world example from the below line and saved as hello_world.c
> http://iem.at/pd/externals-HOWTO/node3.html
>
> and i put them in the same folder and 'cd' to the folder and typed
> make hello_world.c
>
> and i got
>
> ls: ../src: No such file or directory
> make: Nothing to be done for `hello_world.c'.
>
> where am i doing wrong? do i need to modify the makefile somewhere?
>
> many thanks
>
> yours
>
> CHUN
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> to manage your subscription (including un-subscription) see
> http://iem.at/cgi-bin/mailman/listinfo/pd-list





More information about the Pd-list mailing list