diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-06-16 13:48:52 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2006-06-16 13:48:52 +0200 |
commit | c2fa8279933a103d6576d891e85c1801d90c65ef (patch) | |
tree | 6eecae7f4895b54adbaa59d640aa701416c03708 /tests/Makefile | |
parent | 07e46c92467d0787f1318412186a64cf1c9da562 (diff) |
Add unit testing infrastructure.
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile new file mode 100644 index 00000000..3a27a430 --- /dev/null +++ b/tests/Makefile @@ -0,0 +1,14 @@ +include ../Makefile.settings + +LFLAGS +=-lcheck + +all: check + ./check + +check: check.o check_util.o ../util.o + @echo '*' Linking $@ + @$(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) $(EFLAGS) + +%.o: %.c + @echo '*' Compiling $< + @$(CC) -c $(CFLAGS) $< -o $@ |