summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2019-10-14 18:10:36 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2019-10-14 18:24:02 -0400
commit0d4f1353c9e6277b9cf0fe781e75eada0d701213 (patch)
treed9771b4be4cc6075d8890ca9600a48971f26fbf2 /Makefile
parent79003ef9688695db056ca30103d0e26290c0d58b (diff)
Put Tile Heightmap, and AABB into their own separate
functions. I also made a benchmark version, with hardcoded values. I made this to get the time of a collision check, without the overhead of getting input.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 25ef589..189e4c8 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,10 @@ all : $(OBJS)
$(CC) $(OBJS) $(CFLAGS) -o $(OBJ_NAME)
test-mvmt :
$(CC) test-mvmt.c $(CFLAGS) -o test-mvmt
+benchmark:
+ $(CC) clld-bench.c $(CFLAGS) -o clld-bench
clean :
- rm -f $(OBJ_NAME) test-mvmt
+ rm -f $(OBJ_NAME) test-mvmt clld-bench
install :
install -D -m755 clld $(BIN_DIR)/clld
uninstall :