Surer `make clean' implementation

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@581 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-09-27 10:52:50 +00:00
1 parent 57f2f6d7ef
commit fc20445e02
10 files changed
+48 -15

No files matched your search

+2 -1
View File
@@ -19,6 +19,7 @@
# 'simply expanded variable'. That means that its value is substituted
# verbatim in the rules, until it is redefined.
MODULE_DIR := kernel
KERNELDIR := $(MODULE_DIR)
# Regrettably, even 'simply expanded variables' will not put their currently
# defined value verbatim into the command-list of rules...
@@ -39,5 +40,5 @@ install-kernel: all-kernel
install :: install-kernel
clean-kernel:
$(RM) $(KERNELTARGETS) $(KERNELTARGETS:.o=.d)
$(RM) $(KERNELDIR)/*.o $(KERNELDIR)/*.d
clean :: clean-kernel