]> git.tuebingen.mpg.de Git - osl.git/commitdiff
build: Add $(LDFLAGS) to rule for oslfsck.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 18 May 2020 16:31:30 +0000 (18:31 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 7 Jun 2020 19:52:29 +0000 (21:52 +0200)
This allows for example to specify an additional -L option if lopsub
is not installed at a standard location.

Makefile

index 61ac1dc9529448764196bfaff0d8fa35d6c8a839..db345b43a90a242501fba9557dc3872e1e56ccfe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,7 @@ endif
 
 fsck.o: oslfsck.lsg.h
 oslfsck: $(fsck_objects)
-       $(CC) -o $@ $(fsck_objects) -llopsub
+       $(CC) -o $@ $(fsck_objects) $(LDFLAGS) -llopsub
 
 %.lsg.c: %.suite
        lopsubgen --gen-c < $<