aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2025-11-01 13:48:03 -0400
committerDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2025-11-01 13:48:03 -0400
commit745e9c48926c7e9361396c4da32760518d6912b3 (patch)
tree178557bf8af227bdea9b339dfefc1b0e75d4345d /Makefile
parent6338ac827b15787a0d83136eac9d681588f07f9a (diff)
downloadlibmap-745e9c48926c7e9361396c4da32760518d6912b3.tar.gz
Updated to build on my Linux machines + renamed library
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 97269af..18eef85 100755
--- a/Makefile
+++ b/Makefile
@@ -9,13 +9,13 @@ build:
build/strmap.o: src/strmap.c build
clang $(CFLAGS) -c src/strmap.c -o build/strmap.o
-lib/strmap.a: build/strmap.o
- ar rcs lib/strmap.a build/strmap.o
- ranlib lib/strmap.a
+lib/libmap.a: build/strmap.o
+ ar rcs lib/libmap.a build/strmap.o
+ ranlib lib/libmap.a
.PHONY tests:
-tests: lib/strmap.a
- clang $(CFLAGS) -L/usr/local/lib -lcheck -pthread lib/strmap.a tests/strmap_tests.c -o bin/strmap_tests
+tests: lib/libmap.a
+ clang $(CFLAGS) -L/usr/local/lib -lcheck -pthread lib/libmap.a tests/strmap_tests.c -o bin/strmap_tests
.PHONY clean: