Merge branch 'moonshot' of ssh://moonshot.suchdamage.org:822/srv/git/libeap into...
[libeap.git] / eap_example / Makefile
index 0cc19bd..4edfee1 100644 (file)
@@ -2,16 +2,16 @@ ALL=eap_example
 
 all: $(ALL)
 
-ifndef CC
-CC=gcc
-endif
+
+CC=gcc -fPIC
+
 
 ifndef RANLIB
 RANLIB=ranlib
 endif
 
 ifndef CFLAGS
-CFLAGS = -MMD -O2 -Wall -g
+CFLAGS = -MMD -O2 -Wall -g -fPIC 
 endif