aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLion Kortlepel <[email protected]>2026-01-14 23:19:55 +0100
committerLion Kortlepel <[email protected]>2026-01-14 23:19:55 +0100
commitca071e9ee92ea9eb139726bf8fa5433ad374fba8 (patch)
tree9a522471ba497cbf0ad124a0e8426c42241bc7f2 /Makefile
parentf93efff02151e4a3affa4b2d0031e957fe7553aa (diff)
downloadqueue-ca071e9ee92ea9eb139726bf8fa5433ad374fba8.tar.zst
queue-ca071e9ee92ea9eb139726bf8fa5433ad374fba8.zip
feat!: implement typesafe queue
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7dc331d..f145bb2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-tests/tests: queue.o tests/tests.c tests/ls_test.h
- $(CC) -o $@ queue.o tests/tests.c -Itests -I.
+tests/tests: ls_queue.o tests/tests.c tests/ls_test.h
+ $(CC) -o $@ ls_queue.o tests/tests.c -Itests -I.
# Usually you wouldn't do this, but for tests we want this compiled with the
# most pedantic settings.
# Dont use this.
-queue.o: queue.h
- $(CC) -c -x c -o $@ $^ -Wall -Wextra -Wpedantic -Werror -ansi \-std=c89 \
+ls_queue.o: ls_queue.h
+ $(CC) -c -x c -o $@ $^ -Wall -Wextra -Wpedantic -Werror -ansi -std=c89 \
-DLS_QUEUE_IMPLEMENTATION \
-Wno-error=pragma-once-outside-header \
-Wno-pragma-once-outside-header
@@ -14,4 +14,4 @@ queue.o: queue.h
clean:
rm -f tests/tests
- rm -f queue.o
+ rm -f ls_queue.o