Problem with Damien's change: if foo.pic.c exists (and it does on second and subsequent compilations), make applies the rule .c -> .o instead of .c -> .pic.o, resulting in .pic.o files compiled without -fPIC.  As a partial workaround, remove .pic.c links after compilation.  Not perfect because .pic.c stays around if compilation fails.
Problem with Damien's change: if foo.pic.c exists (and it does on second and subsequent compilations), make applies the rule .c -> .o instead of .c -> .pic.o, resulting in .pic.o files compiled without -fPIC.  As a partial workaround, remove .pic.c links after compilation.  Not perfect because .pic.c stays around if compilation fails.



git-svn-id: e7e61699ce1738538ffebb75374fbea0924bc775@11008 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02

yunxing/ocaml,eliberis/ocaml,gerdstolpmann/ocaml,gerdstolpmann/ocaml,msprotz/ocaml,yunxing/ocaml,eliberis/ocaml,chambart/camlp4,msprotz/ocaml,eliberis/ocaml,yunxing/ocaml,gerdstolpmann/ocaml,msprotz/ocaml,yallop/camlp4,hhugo/camlp4,msprotz/ocaml,yunxing/ocaml,eliberis/ocaml,msprotz/ocaml,gerdstolpmann/ocaml,eliberis/ocaml,yunxing/ocaml,gerdstolpmann/ocaml