[PD-dev] Using Shared libs in Externals

Ben Bogart - FMPM/F1999 bbogart at acs.ryerson.ca
Thu Jun 27 20:08:42 CEST 2002


Woo hoo!!! 

Thanks Yves!

I'll send out a screenshot in a minuite. :)

Ben


On Thu, 27 Jun 2002 ydegoyon at free.fr wrote:

> 
> 
> > 
> > LIBS = -lSDL -lm -lpthread 
> > 
> > .c.pd_linux:
> >         cc $(CFLAGS) $(LIBS) $(INCLUDE) -o $*.o -c $*.c
> >         ld -export_dynamic  -shared -o $*.pd_linux $*.o -lc -lm
> >         strip --strip-unneeded $*.pd_linux
> >         rm $*.o
> 
> 
> fasthack : : : :: :
> 
> the LIBS sould be on the linking stage like this :
> 
> > .c.pd_linux:
> >         cc $(CFLAGS) $(INCLUDE) -o $*.o -c $*.c
> >         ld -export_dynamic  -shared -o $*.pd_linux $*.o -lc -lm $(LIBS)
> >         strip --strip-unneeded $*.pd_linux
> >         rm $*.o
> 
> cheers,
> 
> sevy/yves
> 
> 
> 
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
> 



B. Bogart
---------





More information about the Pd-dev mailing list