Makefile enhancements, printk enhancements

* Modules now print their version number and date on insertion
* Some printk statements missed a \n
* 'make clean' now works, even if some .d (dependency) files contain garbage.
  Note that *only* 'make clean' helps in that case; 'make clean all', for
  example, will fail! There is really no nice way to solve that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@11 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1998-11-22 21:36:52 +00:00
1 parent d0f87b72e9
commit ed7e4c3001
11 files changed
+36 -17

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ MODULE_DIR := src
SRCTARGETS := $(MODULE_DIR)/smbus.o $(MODULE_DIR)/piix4.o
# Include all dependency files
include $(SRCTARGETS:.o=.d)
INCLUDEFILES += $(SRCTARGETS:.o=.d)
all :: $(SRCTARGETS)