diff options
author | EuAndreh <eu@euandre.org> | 2021-08-31 16:38:38 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-08-31 16:38:38 -0300 |
commit | ea37aa4b04bccc5baeafb79da6edf035317542a5 (patch) | |
tree | 37ea68c5bad0d2a6ff10bf085ea97ea2d9e74ecf | |
parent | Makefile: Use libgistatic.a to build gistatic instead of the underlying objects (diff) | |
download | gistatic-ea37aa4b04bccc5baeafb79da6edf035317542a5.tar.gz gistatic-ea37aa4b04bccc5baeafb79da6edf035317542a5.tar.xz |
Makefile: Change order of built artifact to reflect actual build order
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,6 +9,7 @@ TRANSLATIONS = pt fr eo CONTRIBLANGS = LDLIBS = -lgit2 + .SUFFIXES: .in .to .in: @@ -35,7 +36,8 @@ all-objects = $(lib-objects) src/main.o t-objects = $(sources:.c=.to) src/tests-lib.to src/main.to -all: gistatic libgistatic.a $(manpages) +all: libgistatic.a gistatic $(manpages) + libgistatic.a: $(lib-objects) $(AR) $(ARFLAGS) $@ $(lib-objects) |