Renamed the log for the tests

This commit is contained in:
Pierre Pronchery 2012-11-17 19:18:30 +01:00
parent 47f5511c49
commit 166b614185
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
TARGETS = string tests.txt TARGETS = string tests.log
PREFIX = /usr/local PREFIX = /usr/local
DESTDIR = DESTDIR =
BINDIR = $(PREFIX)/bin BINDIR = $(PREFIX)/bin
@ -25,14 +25,14 @@ string_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
string: $(string_OBJS) string: $(string_OBJS)
$(CC) -o string $(string_OBJS) $(string_LDFLAGS) $(CC) -o string $(string_OBJS) $(string_LDFLAGS)
tests.txt: string tests.log: string
./tests.sh -P "$(PREFIX)" -- "tests.txt" ./tests.sh -P "$(PREFIX)" -- "tests.log"
string.o: string.c ../src/string.c string.o: string.c ../src/string.c
$(CC) $(string_CFLAGS) -c string.c $(CC) $(string_CFLAGS) -c string.c
clean: clean:
$(RM) -- $(string_OBJS) $(tests.txt_OBJS) $(RM) -- $(string_OBJS) $(tests.log_OBJS)
distclean: clean distclean: clean
$(RM) -- $(TARGETS) $(RM) -- $(TARGETS)

View File

@ -1,4 +1,4 @@
targets=string,tests.txt targets=string,tests.log
cppflags_force=-I ../include cppflags_force=-I ../include
cflags_force=-W cflags_force=-W
cflags=-Wall -g -O2 cflags=-Wall -g -O2
@ -13,7 +13,7 @@ sources=string.c
[string.c] [string.c]
depends=../src/string.c depends=../src/string.c
[tests.txt] [tests.log]
type=script type=script
script=./tests.sh script=./tests.sh
depends=string depends=string