From c3904a9ae6689f170fff35e471d88fe8120ad767 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 28 Aug 2021 14:21:43 -0300 Subject: Makefile: Remove duplicate usage of $(CFLAGS), $(LDFLAGS) and $(LDLIBS) --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1a174ac..e45c8d0 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ LDLIBS = -lgit2 sed -e 's:@VERSION@:$(VERSION):g' -e 's:@DATE@:$(DATE):g' < $< > $@ .c.to: - $(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ -c $< $(LDLIBS) + $(CC) $(CFLAGS) -DTEST -o $@ -c $< manpages.en.in = \ @@ -38,10 +38,10 @@ t-objects = $(sources:.c=.to) src/tests-lib.to src/main.to all: gistatic libgistatic.a $(manpages) gistatic: $(all-objects) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(all-objects) $(LDLIBS) + $(CC) $(LDFLAGS) -o $@ $(all-objects) $(LDLIBS) gistatic-tests: $(t-objects) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(t-objects) $(LDLIBS) + $(CC) $(LDFLAGS) -o $@ $(t-objects) $(LDLIBS) libgistatic.a: $(lib-objects) $(AR) $(ARFLAGS) $@ $(lib-objects) -- cgit v1.2.3