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@leechun.freeserve.co.uk To: "Pd list" pd-list@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/l...
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@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list