diff options
author | EuAndreh <eu@euandre.org> | 2021-08-28 14:21:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-08-28 14:21:43 -0300 |
commit | c3904a9ae6689f170fff35e471d88fe8120ad767 (patch) | |
tree | 7b3a6a857e4f55fb880e61e9c52c2cb298fdae13 | |
parent | src/lib.c: Remove duplicate definition of PROGNAME (diff) | |
download | gistatic-c3904a9ae6689f170fff35e471d88fe8120ad767.tar.gz gistatic-c3904a9ae6689f170fff35e471d88fe8120ad767.tar.xz |
Makefile: Remove duplicate usage of $(CFLAGS), $(LDFLAGS) and $(LDLIBS)
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |