Generated v2 prefixes
This commit is contained in:
@@ -24,6 +24,9 @@ endif
|
||||
ifdef WORD
|
||||
override CFLAGS += -m$(WORD)
|
||||
endif
|
||||
ifdef TRACE
|
||||
override CFLAGS += -DLFS2_YES_TRACE
|
||||
endif
|
||||
override CFLAGS += -I.
|
||||
override CFLAGS += -std=c99 -Wall -pedantic
|
||||
override CFLAGS += -Wextra -Wshadow -Wjump-misses-init
|
||||
@@ -39,14 +42,25 @@ size: $(OBJ)
|
||||
$(SIZE) -t $^
|
||||
|
||||
.SUFFIXES:
|
||||
test: test_format test_dirs test_files test_seek test_truncate \
|
||||
test_entries test_interspersed test_alloc test_paths test_attrs \
|
||||
test_move test_orphan test_corrupt
|
||||
test: \
|
||||
test_format \
|
||||
test_dirs \
|
||||
test_files \
|
||||
test_seek \
|
||||
test_truncate \
|
||||
test_entries \
|
||||
test_interspersed \
|
||||
test_alloc \
|
||||
test_paths \
|
||||
test_attrs \
|
||||
test_move \
|
||||
test_orphan \
|
||||
test_corrupt
|
||||
@rm test.c
|
||||
test_%: tests/test_%.sh
|
||||
|
||||
ifdef QUIET
|
||||
@./$< | sed -n '/^[-=]/p'
|
||||
@./$< | sed -nu '/^[-=]/p'
|
||||
else
|
||||
./$<
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user