diff options
author | EuAndreh <eu@euandre.org> | 2021-08-28 14:49:33 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-08-28 14:49:37 -0300 |
commit | 28edb36457995fb42069becb46e8763b3992bcce (patch) | |
tree | f097aa6b93f29519a555751cdad3ea19fcb1c7ae | |
parent | Makefile: Run integration (expensive) tests after unit and linter tests (diff) | |
download | gistatic-28edb36457995fb42069becb46e8763b3992bcce.tar.gz gistatic-28edb36457995fb42069becb46e8763b3992bcce.tar.xz |
Makefile: Use libgistatic.a to build gistatic instead of the underlying objects
This way I can make sure at least that all the objects that are required
to exist on the library file are being included.
However, this has no influence on what should and shouldn't be exposed
in src/gistatic.h, and which functions ought to be public. This
verification will remain unimplemented, at least for now.
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -40,11 +40,11 @@ all: gistatic libgistatic.a $(manpages) libgistatic.a: $(lib-objects) $(AR) $(ARFLAGS) $@ $(lib-objects) -gistatic: $(all-objects) - $(CC) $(LDFLAGS) -o $@ $(all-objects) $(LDLIBS) +gistatic: libgistatic.a src/main.o + $(CC) $(LDFLAGS) -o $@ src/main.o libgistatic.a $(LDLIBS) gistatic-tests: $(t-objects) - $(CC) $(LDFLAGS) -o $@ $(t-objects) $(LDLIBS) + $(CC) $(LDFLAGS) -o $@ $(t-objects) $(LDLIBS) src/config.h: printf '#ifndef GISTATIC_CONFIG_H\n' >> $@ |