Renamed the log for the tests
This commit is contained in:
parent
47f5511c49
commit
166b614185
|
@ -1,4 +1,4 @@
|
|||
TARGETS = string tests.txt
|
||||
TARGETS = string tests.log
|
||||
PREFIX = /usr/local
|
||||
DESTDIR =
|
||||
BINDIR = $(PREFIX)/bin
|
||||
|
@ -25,14 +25,14 @@ string_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
|
|||
string: $(string_OBJS)
|
||||
$(CC) -o string $(string_OBJS) $(string_LDFLAGS)
|
||||
|
||||
tests.txt: string
|
||||
./tests.sh -P "$(PREFIX)" -- "tests.txt"
|
||||
tests.log: string
|
||||
./tests.sh -P "$(PREFIX)" -- "tests.log"
|
||||
|
||||
string.o: string.c ../src/string.c
|
||||
$(CC) $(string_CFLAGS) -c string.c
|
||||
|
||||
clean:
|
||||
$(RM) -- $(string_OBJS) $(tests.txt_OBJS)
|
||||
$(RM) -- $(string_OBJS) $(tests.log_OBJS)
|
||||
|
||||
distclean: clean
|
||||
$(RM) -- $(TARGETS)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
targets=string,tests.txt
|
||||
targets=string,tests.log
|
||||
cppflags_force=-I ../include
|
||||
cflags_force=-W
|
||||
cflags=-Wall -g -O2
|
||||
|
@ -13,7 +13,7 @@ sources=string.c
|
|||
[string.c]
|
||||
depends=../src/string.c
|
||||
|
||||
[tests.txt]
|
||||
[tests.log]
|
||||
type=script
|
||||
script=./tests.sh
|
||||
depends=string
|
||||
|
|
Loading…
Reference in New Issue
Block a user