]> git.codecow.com Git - Monocypher.git/commitdiff
Removed redundant mkdir in makefile
authorLoup Vaillant <loup@loup-vaillant.fr>
Mon, 20 Feb 2023 10:25:17 +0000 (11:25 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Mon, 20 Feb 2023 10:25:17 +0000 (11:25 +0100)
makefile

index 65c636b10024c5fbf353431593892ca6824b7b86..2a782181c695f63d532d1db375bf7e15595383bf 100644 (file)
--- a/makefile
+++ b/makefile
@@ -125,11 +125,9 @@ lib/libmonocypher.a: $(MAIN_O)
        $(AR) cr $@ $(MAIN_O)
 
 lib/libmonocypher.so: lib/$(SONAME)
-       @mkdir -p $(@D)
        ln -sf `basename lib/$(SONAME)` $@
 
 lib/$(SONAME): $(MAIN_O)
-       @mkdir -p $(@D)
        $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(SONAME) -o $@ $(MAIN_O)
 
 lib/monocypher.o: src/monocypher.c src/monocypher.h