From: Luke Howard Date: Tue, 15 Mar 2011 02:25:07 +0000 (+1100) Subject: Merge branch 'moonshot' of ssh://moonshot.suchdamage.org:822/srv/git/libeap into... X-Git-Url: http://www.project-moonshot.org/gitweb/?p=libeap.git;a=commitdiff_plain;h=e586e8f88968dae297e9f013f67518d21b1f12e0;hp=b79154a51b40c502960f9fe3fc004f824de1502b Merge branch 'moonshot' of ssh://moonshot.suchdamage.org:822/srv/git/libeap into moonshot --- diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..0160c87 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,2 @@ +all install: + cd eap_example&&$(MAKE) CC='gcc -fPIC' diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..6653a04 --- /dev/null +++ b/configure.ac @@ -0,0 +1,2 @@ +AC_INIT([Makefile.in]) +AC_OUTPUT([Makefile]) diff --git a/eap_example/Makefile b/eap_example/Makefile index 0cc19bd..4edfee1 100644 --- a/eap_example/Makefile +++ b/eap_example/Makefile @@ -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