From 09e8a15d78b78a971ec0616f483456e62e6a2bdb Mon Sep 17 00:00:00 2001 From: internal Date: Tue, 7 Jun 2022 21:22:21 +0200 Subject: [PATCH] Add clean for apps directory. --- Makefile | 1 + apps/Makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 5e1756a..4e875e9 100644 --- a/Makefile +++ b/Makefile @@ -34,5 +34,6 @@ install: all clean: rm -rf */.*.o.d */*.o */*.ko */*.mod.c */.*.cmd .tmp_versions Module* modules* + $(MAKE) -C apps clean diff --git a/apps/Makefile b/apps/Makefile index d1cf395..4560894 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -34,6 +34,9 @@ setmod3: setmod3.c modconfig: modconfig.c $(CC) -o modconfig modconfig.c -I../include/ +clean: + rm cit citin flashprog modt ddtest setmod ddflash setmod2 pls setmod3 modconfig ddinfo getiq + %: %.c $(CC) $(CFLAGS) -I../ddbridge -I../include/ $< -o $@