summaryrefslogtreecommitdiff
path: root/experimental/tectonics/Makefile
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-01-25 22:59:44 -0600
committersanine <sanine.not@pm.me>2022-01-25 22:59:44 -0600
commit008cf63a05d7be6ed165747ec5e735e002de3b2d (patch)
tree024d04980a4f0cd6faa426939cfb60e9a3d7b6a3 /experimental/tectonics/Makefile
parentec20b587362d76d6c48ecc1a5c1e65f1bb9293da (diff)
add quadtree and basic world model
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)