Hey folks, I really suck at compiling objects, and I'm getting this problem that when I try to load the object I compiled in my mac os 10.6.7 I get this "Wrong architecture" problem.

Is it a pretty straightforward situation or do I need to give out more info?

here's what's in the build file



NAME=roughness
cc -DPD -O0 -g -fnested-functions -Wall -Wno-unused-parameter -Wno-parentheses -Wno-switch  -I ./  -o $NAME.o -c $NAME.c &&
cc -bundle -undefined suppress  -flat_namespace -o $NAME.pd_darwin $NAME.o


thanks