mirror of
https://git.disroot.org/80486DX2-66/polonium.git
synced 2024-12-25 23:00:07 +05:30
Makefile: add target testclean
This commit is contained in:
parent
f0169f57e6
commit
7eb1d1dbdf
6
Makefile
6
Makefile
@ -12,6 +12,7 @@ SRCDIR = ./src
|
|||||||
INCDIR = ./include
|
INCDIR = ./include
|
||||||
OBJDIR = ./obj
|
OBJDIR = ./obj
|
||||||
BINDIR = ./bin
|
BINDIR = ./bin
|
||||||
|
TESTDIR = ./test_files/corrupted
|
||||||
|
|
||||||
SRC = $(wildcard $(SRCDIR)/*.c)
|
SRC = $(wildcard $(SRCDIR)/*.c)
|
||||||
OBJ = $(SRC:$(SRCDIR)/%.c=$(OBJDIR)/%.o)
|
OBJ = $(SRC:$(SRCDIR)/%.c=$(OBJDIR)/%.o)
|
||||||
@ -87,4 +88,7 @@ clean:
|
|||||||
distclean:
|
distclean:
|
||||||
$(call rmdirs,$(DIRECTORIES_TO_REMOVE))
|
$(call rmdirs,$(DIRECTORIES_TO_REMOVE))
|
||||||
|
|
||||||
.PHONY: all clean distclean
|
testclean:
|
||||||
|
$(call rmdirs,$(TESTDIR))
|
||||||
|
|
||||||
|
.PHONY: all clean distclean testclean
|
||||||
|
Loading…
Reference in New Issue
Block a user