diff options
author | EuAndreh <eu@euandre.org> | 2021-08-28 14:22:32 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-08-28 14:22:32 -0300 |
commit | bd9ce5ea8fe470ddc3bb6f05432c50efec602403 (patch) | |
tree | 016911ce5ca089104f80c63743a43cef1ed0b6a0 | |
parent | Makefile: Remove duplicate usage of $(CFLAGS), $(LDFLAGS) and $(LDLIBS) (diff) | |
download | gistatic-bd9ce5ea8fe470ddc3bb6f05432c50efec602403.tar.gz gistatic-bd9ce5ea8fe470ddc3bb6f05432c50efec602403.tar.xz |
Makefile: Move libgistatic.a to the beginning, following the natural progression of artifacts
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,15 +37,15 @@ t-objects = $(sources:.c=.to) src/tests-lib.to src/main.to all: gistatic libgistatic.a $(manpages) +libgistatic.a: $(lib-objects) + $(AR) $(ARFLAGS) $@ $(lib-objects) + gistatic: $(all-objects) $(CC) $(LDFLAGS) -o $@ $(all-objects) $(LDLIBS) gistatic-tests: $(t-objects) $(CC) $(LDFLAGS) -o $@ $(t-objects) $(LDLIBS) -libgistatic.a: $(lib-objects) - $(AR) $(ARFLAGS) $@ $(lib-objects) - src/config.h: printf '#ifndef GISTATIC_CONFIG_H\n' >> $@ printf '#define GISTATIC_CONFIG_H\n\n' >> $@ |