From e0b348319ad6902ffcbb663e81c29b229c551b61 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Mon, 18 Nov 2002 20:39:47 +0000 Subject: Initial revision SVN Revision: 2 --- src/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/Makefile (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 00000000..ff57225b --- /dev/null +++ b/src/Makefile @@ -0,0 +1,18 @@ +# $Id$ + +INCLUDES = -I/usr/lib/erlang/usr/include \ + -I/usr/lib/erlang/lib/erl_interface-3.3.0/include + +LIBDIRS = -L/usr/lib/erlang/lib/erl_interface-3.3.0/lib + +all: expat_erl.so + erl -make + +expat_erl.so: expat_erl.c + gcc -Wall $(INCLUDES) $(LIBDIRS) \ + -lexpat \ + expat_erl.c \ + -lerl_interface \ + -lei \ + -o expat_erl.so -fpic -shared \ + -- cgit v1.2.3