patch-1.3.17 linux/drivers/char/Makefile

Next file: linux/drivers/net/3c503.c
Previous file: linux/drivers/block/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.16/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -100,10 +100,13 @@
 
 endif
 
+ifdef MODULES
 dep: uni_hash_tbl.h
 	$(CPP) -M $(SRCS) > .depend
-ifdef MODULES
 	$(CPP) -M -DMODULE $(MODULES:.o=.c) >> .depend
+else
+dep: uni_hash_tbl.h
+	$(CPP) -M $(SRCS) > .depend
 endif
 
 conmakehash: conmakehash.c

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this