From cc7842ec950d89dcf35638a954271d2a6fad332b Mon Sep 17 00:00:00 2001 From: Jeff Armstrong Date: Mon, 18 Jul 2011 22:19:18 -0400 Subject: GEM library is now compiling to SLB. --- lib/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/Makefile (limited to 'lib/Makefile') 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 -- cgit v1.2.3