fatbase

portable OpenBSD tools
git clone git://git.2f30.org/fatbase
Log | Files | Refs

commit 20078decbd5f2a5b325c8a460e99e9533aa8005f
parent 2795390efdf0781bff7d8f3cf5980ab198e6e1fa
Author: sin <sin@2f30.org>
Date:   Tue, 18 Nov 2014 16:01:36 +0000

Use LDFLAGS instead of LDLIBS for now

Diffstat:
Mawk/Makefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/awk/Makefile b/awk/Makefile @@ -1,6 +1,6 @@ OBJ = arc4random.o b.o lex.o lib.o main.o parse.o proctab.o reallocarray.o run.o strlcat.o strlcpy.o tran.o ytab.o BIN = awk -LDLIBS = -lm +LDFLAGS = -lm all: ytab.c proctab.c $(BIN) @@ -16,7 +16,7 @@ maketab: ytab.h maketab.c $(CC) $(CFLAGS) maketab.c -o $@ $(BIN): $(OBJ) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LDLIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ) $(LDFLAGS) clean: rm -f $(BIN) $(OBJ) maketab proctab.c ytab.[ch]