aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-08-18 16:48:53 +0200
committerMosder <xmosder12@gmail.com>2026-08-18 16:48:53 +0200
commit1cb408c0e4f42c4b11e8e2f80374c26bb905ef22 (patch)
treebbb555fccea06ffc586a17b41d26ddf3281e74bc /Makefile
parent94ae190fab09d6ec421b35474e620f664b88647f (diff)
feat: added basic definitions and documentation + templates for implementation and tests for string slices
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0ea8a5a..3aa26d9 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,7 @@ headers:
compile: memory structures
$(CC) $(CFLAGS) -c src/tester.c
+ $(CC) $(CFLAGS) -c src/string.c
memory:
$(CC) $(CFLAGS) -c src/mem/alloc.c
@@ -28,6 +29,7 @@ structures:
test:
$(CC) $(CFLAGS_TEST) -c tests/mem/alloc_tests.c
$(CC) $(CFLAGS_TEST) -c tests/ds/array_tests.c
+ $(CC) $(CFLAGS_TEST) -c tests/string_tests.c
$(CC) $(CFLAGS_TEST) -lmoslib *.o tests/tests.c -o run_tests
./run_tests
rm run_tests *.o