From a59521f040d3a9089b0cd9217fdd8e4fff88cfe5 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 2 May 2026 01:14:17 -0400 Subject: [PATCH] build: Add clean target Signed-off-by: Ian Moffett --- Makefile | 4 ++++ endpoint/Makefile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 8116fe5..dab2df8 100644 --- a/Makefile +++ b/Makefile @@ -13,3 +13,7 @@ bin: .PHONY: endpoint endpoint: cd endpoint/; make + +.PHONY: clean +clean: + cd endpoint/; make clean diff --git a/endpoint/Makefile b/endpoint/Makefile index c49731f..3803d4a 100644 --- a/endpoint/Makefile +++ b/endpoint/Makefile @@ -25,3 +25,7 @@ all: ../bin/remailsv $(OFILES) -include $(DFILES) %.o: %.c $(CC) -c $< $(CFLAGS) -o $@ + +.PHONY: clean +clean: + rm -f $(OFILES) $(DFILES)