From ec7a6888812d17cfe27a2abc40769c26dd07e409 Mon Sep 17 00:00:00 2001 From: agibert Date: Sun, 6 Jun 2010 21:28:14 +0000 Subject: [PATCH] Add -fPIC flag in .c to .o makefile rule. --- Makefile.rule | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.rule b/Makefile.rule index 8a4aa03..82c29b2 100644 --- a/Makefile.rule +++ b/Makefile.rule @@ -1,7 +1,7 @@ # $RCSfile: Makefile.rule,v $ -# $Revision: 1.4 $ +# $Revision: 1.5 $ # $Name: $ -# $Date: 2003/07/16 23:37:37 $ +# $Date: 2010/06/06 21:28:14 $ # $Author: agibert $ #------------------------------------------------------------------------------ @@ -20,7 +20,7 @@ default:all # Here are all the rules allowing to compile sources files # c -> o %.o:%.c - $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ + $(CC) $(CFLAGS) $(INCLUDE) -fPIC -c $< -o $@ # c -> executable .c :