diff options
| author | EuAndreh <eu@euandre.org> | 2021-08-21 05:46:01 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-08-21 05:49:01 -0300 |
| commit | 8cdf1afb795cf4f2d6eb01fa6a533d9321adec59 (patch) | |
| tree | 22d8eb5f33eed5b7bfe513430002d679bf8460ec /Makefile | |
| parent | TODOs.md: Add #task-a0634ded-968e-bce5-3fef-8e1c5e3aab35 (diff) | |
| download | gistatic-8cdf1afb795cf4f2d6eb01fa6a533d9321adec59.tar.gz gistatic-8cdf1afb795cf4f2d6eb01fa6a533d9321adec59.tar.xz | |
src/tests-lib.c: Move testing helper function and share it with other files
Diffstat (limited to 'Makefile')
| -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.t: - $(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $< $(LDLIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -DTEST -o $@ $< src/tests-lib.o $(LDLIBS) manpages.en.in = \ @@ -33,7 +33,7 @@ objects = $(sources:.c=.o) tests = $(sources:.c=.t) -all: src/config.h $(manpages) src/gistatic libgistatic.a +all: src/config.h src/tests-lib.o src/gistatic libgistatic.a $(manpages) src/gistatic: $(objects) src/main.o @@ -52,7 +52,7 @@ src/config.h: printf '\n#endif\n' >> $@ $(objects): src/config.h -$(tests): src/config.h +$(tests): src/config.h src/tests-lib.h src/tests-lib.o src/gistatic.o: src/gistatic.h src/tar.o src/tar.h src/main.o: src/gistatic.h src/gistatic.o |
