summaryrefslogtreecommitdiff
path: root/deps.mk
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-04-05 16:07:39 -0300
committerEuAndreh <eu@euandre.org>2024-04-05 17:08:08 -0300
commitea60b1b08015060a08b1ead38e4e81c44a88017f (patch)
tree9be302cafc856410383e1b1ab315f8b1a371153d /deps.mk
parentgit mv meta.capim meta.weave (diff)
downloadpindaiba-ea60b1b08015060a08b1ead38e4e81c44a88017f.tar.gz
pindaiba-ea60b1b08015060a08b1ead38e4e81c44a88017f.tar.xz
Move unit tests out of src/*.c into tests/
Diffstat (limited to 'deps.mk')
-rw-r--r--deps.mk92
1 files changed, 57 insertions, 35 deletions
diff --git a/deps.mk b/deps.mk
index fc0bf7f..96f319a 100644
--- a/deps.mk
+++ b/deps.mk
@@ -1,15 +1,15 @@
manpages.en.in = \
- doc/pindaiba.CHANGELOG.en.7.in \
- doc/pindaiba.README.en.7.in \
- doc/pindaiba.TODOs.en.7.in \
doc/pindaiba.en.1.in \
doc/pindaiba.recipes.en.7.in \
doc/pindaiba.tutorial.en.7.in \
doc/pindaiba.why.en.7.in \
-manpages.in = $(manpages.en.in)
catalogs.en.msg = src/pindaiba.en.msg
-catalogs.msg = $(catalogs.en.msg)
+manpages.in = \
+ $(manpages.en.in) \
+
+catalogs.msg = \
+ $(catalogs.en.msg) \
fuzz.c = \
tests/fuzz/another.c \
@@ -29,38 +29,60 @@ sources.c = \
src/random.c \
src/testing.c \
-src/catalog.o src/catalog.to: src/catalog.h
-src/i18n.o src/i18n.to: src/i18n.h
-src/lib.o src/lib.to: src/lib.h
-src/logerr.o src/logerr.to: src/logerr.h
-src/random.o src/random.to: src/random.h
-src/testing.o src/testing.to: src/testing.h
+tests.c = \
+ tests/catalog.c \
+ tests/i18n.c \
+ tests/lib.c \
+ tests/logerr.c \
+ tests/random.c \
+ tests/testing.c \
+
+src/catalog.o: src/catalog.h
+src/i18n.o: src/i18n.h
+src/lib.o: src/lib.h
+src/logerr.o: src/logerr.h
+src/random.o: src/random.h
+src/testing.o: src/testing.h
+
+tests/catalog.o: src/catalog.c src/catalog.h
+tests/i18n.o: src/i18n.c src/i18n.h
+tests/lib.o: src/lib.c src/lib.h
+tests/logerr.o: src/logerr.c src/logerr.h
+tests/random.o: src/random.c src/random.h
+tests/testing.o: src/testing.c src/testing.h
+
+tests/catalog.a: tests/catalog.o
+tests/i18n.a: tests/i18n.o
+tests/lib.a: tests/lib.o
+tests/logerr.a: tests/logerr.o
+tests/random.a: tests/random.o
+tests/testing.a: tests/testing.o
-src/catalog.a: src/catalog.to
-src/i18n.a: src/i18n.to
-src/lib.a: src/lib.to
-src/logerr.a: src/logerr.to
-src/random.a: src/random.to
-src/testing.a: src/testing.to
+tests/catalog.bin-check: tests/catalog.bin
+tests/i18n.bin-check: tests/i18n.bin
+tests/lib.bin-check: tests/lib.bin
+tests/logerr.bin-check: tests/logerr.bin
+tests/random.bin-check: tests/random.bin
+tests/testing.bin-check: tests/testing.bin
-src/catalog.bin-check: src/catalog.bin
-src/i18n.bin-check: src/i18n.bin
-src/lib.bin-check: src/lib.bin
-src/logerr.bin-check: src/logerr.bin
-src/random.bin-check: src/random.bin
-src/testing.bin-check: src/testing.bin
+src/catalog.o: src/logerr.h
+src/i18n.o:
+src/lib.o:
+src/logerr.o:
+src/random.o: src/logerr.h
+src/testing.o:
-src/catalog.o src/catalog.to: src/logerr.h src/testing.h src/../tests/slurp.h
-src/i18n.o src/i18n.to: src/logerr.h src/catalog.h
-src/lib.o src/lib.to:
-src/logerr.o src/logerr.to: src/testing.h src/../tests/slurp.h
-src/random.o src/random.to: src/logerr.h src/testing.h
-src/testing.o src/testing.to:
+tests/catalog.o: src/logerr.h src/testing.h tests/slurp.h
+tests/i18n.o: src/logerr.h src/catalog.h
+tests/lib.o:
+tests/logerr.o: src/testing.h tests/slurp.h
+tests/random.o: src/logerr.h src/testing.h
+tests/testing.o:
-src/catalog.a: src/logerr.o src/testing.o src/../tests/slurp.o
-src/i18n.a: src/logerr.o src/catalog.o
-src/lib.a:
-src/logerr.a: src/testing.o src/../tests/slurp.o
-src/random.a: src/logerr.o src/testing.o
-src/testing.a:
+tests/catalog.a: src/logerr.o src/testing.o tests/slurp.o
+tests/i18n.a: src/logerr.o src/catalog.o
+tests/lib.a:
+tests/logerr.a: src/testing.o tests/slurp.o
+tests/random.a: src/logerr.o src/testing.o
+tests/testing.a: