1
0
mirror of https://git.disroot.org/80486DX2-66/polonium.git synced 2024-12-26 07:09:50 +05:30

Makefile: add target testclean

This commit is contained in:
Intel A80486DX2-66 2024-07-08 21:07:14 +03:00
parent f0169f57e6
commit 7eb1d1dbdf
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -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