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