summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>2012-07-27 09:34:32 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-27 09:54:49 +0200
commitc9baff669d659998edb5d8269ef8e004aaad1d4a (patch)
tree6e201d649e603e8a12a7615fdbf0f49c3673d10b /Makefile
parent72ee74b9be0935f9421a4987e9de785b74e71a50 (diff)
downloaddracut-c9baff669d659998edb5d8269ef8e004aaad1d4a.tar.gz
dracut-c9baff669d659998edb5d8269ef8e004aaad1d4a.tar.bz2
dracut-c9baff669d659998edb5d8269ef8e004aaad1d4a.zip
Makefile: add dependencies for dracut-install (generated with gcc -MM)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 28381df0..cd150097 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,14 @@ DRACUT_INSTALL_OBJECTS = \
install/log.o \
install/util.o
+# deps generated with gcc -MM
+install/dracut-install.o: install/dracut-install.c install/log.h install/macro.h \
+ install/hashmap.h install/util.h
+install/hashmap.o: install/hashmap.c install/util.h install/macro.h install/log.h \
+ install/hashmap.h
+install/log.o: install/log.c install/log.h install/macro.h install/util.h
+install/util.o: install/util.c install/util.h install/macro.h install/log.h
+
install/dracut-install: $(DRACUT_INSTALL_OBJECTS)
dracut-install: install/dracut-install
@@ -109,7 +117,7 @@ clean:
$(RM) */*/*~
$(RM) test-*.img
$(RM) dracut-*.rpm dracut-*.tar.bz2
- $(RM) $(DRACUT_INSTALL_BIN) install/dracut-install $(DRACUT_INSTALL_OBJECTS)
+ $(RM) dracut-install install/dracut-install $(DRACUT_INSTALL_OBJECTS)
$(RM) $(manpages) dracut.html
$(MAKE) -C test clean