48d3159d67
I used these to develop the mtd/ubi ioctl decoders. * test/.gitignore: Add mtd/ubi. * test/Makefile: Declare all tests in a PROGS var. Declare build targets .PHONY. (all): Depend on $(PROGS) instead of hardcoded list. (clean): Remove $(PROGS) instead of hardcoded list. * test/mtd.c: New file. * test/ubi.c: Likewise.
18 lines
318 B
Makefile
18 lines
318 B
Makefile
CFLAGS += -Wall
|
|
|
|
PROGS = \
|
|
vfork fork sig skodic clone leaderkill childthread \
|
|
sigkill_rain wait_must_be_interruptible threaded_execve \
|
|
mtd ubi
|
|
|
|
all: $(PROGS)
|
|
|
|
leaderkill: LDFLAGS += -pthread
|
|
|
|
childthread: LDFLAGS += -pthread
|
|
|
|
clean distclean:
|
|
rm -f *.o core $(PROGS) *.gdb
|
|
|
|
.PHONY: all clean distclean
|