diff options
author | Rusty Russell <rusty@linuxcare.com.au> | 2000-07-30 01:42:17 +0000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2000-07-30 01:42:17 +0000 |
commit | f4a6a0e74243ac020952f72b7aec21f9d8298b25 (patch) | |
tree | 29d0e368d9503aa39736de5f6ef13c58a77fed95 /Rules.make | |
parent | e6a17d7f6025cd6fbb9dfc4a810824b5f1f5fa88 (diff) |
More intelligent `something wrong' message.
Diffstat (limited to 'Rules.make')
-rw-r--r-- | Rules.make | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,7 +32,8 @@ $(SHARED_LIBS): %.so : %_sh.o # This is useful for when dependencies completely screwed %.h:: @echo Something wrong... deleting dependencies. - -rm -f $(DEPFILES) $(EXTRA_DEPENDS) .makefirst + @-rm -f $(DEPFILES) $(EXTRA_DEPENDS) .makefirst + @[ -d $(KERNEL_DIR)/include/linux/netfilter_ipv4 ] || echo -e '\n\n Please try `make KERNEL_DIR=path-to-correct-kernel'\'.'\n\n' @exit 1 -include $(DEPFILES) $(EXTRA_DEPENDS) |