summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0edb539
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+CFLAGS = -std=c99 -D_XOPEN_SOURCE=700 -fPIC -g
+LDFLAGS = -shared -lm
+
+TARGET = libmg2d.so
+
+OBJECTS = \
+ ell_relax.o \
+ log.o \
+
+
+all: $(TARGET)
+
+$(TARGET): $(OBJECTS)
+ ld ${LDFLAGS} -o $@ $(OBJECTS)
+
+clean:
+ -rm $(OBJECTS) $(TARGET)
+
+.PHONY: clean test