just to show you, how simple it is. this is how a complete makefile with pd-lib-builder might look like:
# Makefile for mylib
lib.name = mylib
class.sources = myclass1.c myclass2.c
datafiles = myclass1-help.pd myclass2-help.pd README.txt LICENSE.txt
include Makefile.pdlibbuilder
and building your external is as simple as:
cd /path/to/source make PDDIR=/path/to/pd
Christof
PS: sorry, sent to wrong list first.
Gesendet: Mittwoch, 05. September 2018 um 16:33 Uhr Von: "IOhannes m zmoelnig" zmoelnig@iem.at An: pd-list@lists.iem.at Betreff: Re: [PD] Setting Code::Blocks (MinGW64) to compile pd externals
On 2018-09-05 16:25, alfonso santimone wrote:
I have no good knowledge of cmake.
to repeat christophs advice:
in your case I'd strongly suggest to use the pd-lib-builder makefile template: https://github.com/pure-data/pd-lib-builder
Coding for pd and max is always a moving target :-D
that's a bit far-fetched for an API that has been pretty stable for about 20 years.
fgasmkdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list