summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorJeff Armstrong <jeffrey.armstrong@approximatrix.com>2011-07-18 22:19:18 -0400
committerJeff Armstrong <jeffrey.armstrong@approximatrix.com>2011-07-18 22:19:18 -0400
commitcc7842ec950d89dcf35638a954271d2a6fad332b (patch)
tree74cb33e10ca17b3c2bec2e7325e9c68f052d97ef /lib/Makefile
parent23b87723883c224c03dedd303a61a10d054292d9 (diff)
downloadgempy-cc7842ec950d89dcf35638a954271d2a6fad332b.tar.gz
gempy-cc7842ec950d89dcf35638a954271d2a6fad332b.zip
GEM library is now compiling to SLB.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
new file mode 100644
index 0000000..98c7c79
--- /dev/null
+++ b/lib/Makefile
@@ -0,0 +1,21 @@
+
+# GEM Makefile
+
+CC = gcc
+CFLAGS = -g -O -I/e/Python-2.7.1/Include -I/e/Python-2.7.1
+
+LIBS = -lgem -lldg
+
+OBJECTS = gem.o py_aes.o
+
+TARGET = _gem.slb
+
+%.o: %.c
+ $(CC) -c $(CFLAGS) -o $@ $<
+
+$(TARGET): $(OBJECTS)
+ $(CC) -o $(TARGET) $(OBJECTS) $(LIBS)
+
+clean:
+ rm -f $(TARGET) $(OBJECTS)
+ \ No newline at end of file