Start with something simple, say foo.pas:
program foo; begin end.
Step 1: note no space betwen "e" and "-" gpc --automake-o foo foo.pas
Step 2: do it right gpc --automake -o foo foo.pas
Step 3: repeat step 1.
Shouldn't there be a built-in "make clean" in there someplace?
Russ