summaryrefslogtreecommitdiff
path: root/experimental/tectonics/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tectonics/Makefile')
-rw-r--r--experimental/tectonics/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/experimental/tectonics/Makefile b/experimental/tectonics/Makefile
new file mode 100644
index 0000000..dd04325
--- /dev/null
+++ b/experimental/tectonics/Makefile
@@ -0,0 +1,12 @@
+CC=gcc
+CFLAGS=-lm `pkg-config --cflags --libs cairo` -ggdb
+DEPS=tectonics.h
+
+%.o: %.c $(DEPS)
+ $(CC) -c -o $@ $< $(CFLAGS)
+
+all: world.o util.o tectonics.o quadtree.o
+ $(CC) -o tectonics world.o util.o tectonics.o quadtree.o $(CFLAGS)
+
+test: all quadtree.test.o tests.o
+ $(CC) -o tests world.o util.o quadtree.o quadtree.test.o tests.o $(CFLAGS)