From 008cf63a05d7be6ed165747ec5e735e002de3b2d Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 25 Jan 2022 22:59:44 -0600 Subject: add quadtree and basic world model --- experimental/tectonics/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 experimental/tectonics/Makefile (limited to 'experimental/tectonics/Makefile') 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) -- cgit v1.2.1