aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-29 15:43:17 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-29 15:43:17 +0530
commit4359caa3ca15c75c4241d869259af3be8cc8375f (patch)
tree7ccb8c1dc8f8846adddf6e67d4912cf6f4aaab62
parentd30043274d010e3246946166a5d7e81cb583038a (diff)
downloadalgorithms-4359caa3ca15c75c4241d869259af3be8cc8375f.tar.gz
algorithms-4359caa3ca15c75c4241d869259af3be8cc8375f.tar.bz2
algorithms-4359caa3ca15c75c4241d869259af3be8cc8375f.zip
Moved implementations to folder
-rw-r--r--Makefile10
-rw-r--r--impls/bsearch-gen.el (renamed from bsearch-gen.el)0
-rw-r--r--impls/bsearch.cpp (renamed from bsearch.cpp)0
-rw-r--r--impls/btree.cpp (renamed from btree.cpp)0
-rw-r--r--impls/list.cpp (renamed from list.cpp)0
-rw-r--r--impls/powerset.rkt (renamed from powerset.rkt)0
6 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index afdfdbf..b7ca82b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,15 @@
CC=clang++
-CFLAGS=-pedantic -Wall -ggdb -fsanitize=address
+CFLAGS=-pedantic -Wall -Wextra -Werror -fsanitize=address -fsanitize=undefined -ggdb -fsanitize=address
VFLAGS=--show-leak-kinds=all --leak-check=full
OUT=
-btree.out: btree.cpp
+btree.out: impls/btree.cpp
$(CC) $(CFLAGS) $^ -o $@
-list.out: list.cpp
+list.out: impls/list.cpp
$(CC) $(CFLAGS) $^ -o $@
-bsearch.out: bsearch.cpp
+bsearch.out: impls/bsearch.cpp
$(CC) $(CFLAGS) $^ -o $@
.PHONY: run
@@ -18,4 +18,4 @@ run: $(OUT)
.PHONY: clean
clean:
- rm -v *.out;
+ rm -v *.out *.txt;
diff --git a/bsearch-gen.el b/impls/bsearch-gen.el
index 79aac56..79aac56 100644
--- a/bsearch-gen.el
+++ b/impls/bsearch-gen.el
diff --git a/bsearch.cpp b/impls/bsearch.cpp
index 6172b15..6172b15 100644
--- a/bsearch.cpp
+++ b/impls/bsearch.cpp
diff --git a/btree.cpp b/impls/btree.cpp
index 4067aad..4067aad 100644
--- a/btree.cpp
+++ b/impls/btree.cpp
diff --git a/list.cpp b/impls/list.cpp
index b87a3e2..b87a3e2 100644
--- a/list.cpp
+++ b/impls/list.cpp
diff --git a/powerset.rkt b/impls/powerset.rkt
index bbece52..bbece52 100644
--- a/powerset.rkt
+++ b/impls/powerset.rkt