aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2018-07-30 13:48:35 +0200
committerAnton Khirnov <anton@khirnov.net>2018-07-30 14:38:42 +0200
commit8135dd6a753d5f63b41c2bb908ac3f58603e044c (patch)
tree6bd3d90b41d38bc12fc1961932a9f1be406383df /Makefile
Initial commit.
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