diff options
author | Christian Hesse <mail@eworm.de> | 2014-12-29 19:33:09 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-12-29 19:33:09 +0100 |
commit | 310b7a57bc03db660874eed67b049a910de369fd (patch) | |
tree | 39db1054602e0808b85f1336f1e4a377fa8e20f9 /Makefile | |
parent | f567df1043b845749f9db83cbca43c46ff80fe61 (diff) | |
download | mkinitcpio-ykfde-310b7a57bc03db660874eed67b049a910de369fd.tar.gz mkinitcpio-ykfde-310b7a57bc03db660874eed67b049a910de369fd.tar.zst |
introduce config.h
We now have configuration in just one place.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -2,18 +2,25 @@ INSTALL := install MD := markdown RM := rm +CP := cp # this is just a fallback in case you do not use git but downloaded # a release tarball... VERSION := 0.5.0 -all: bin/ykfde udev/ykfde README.html +all: bin/ykfde bin/ykfde-cpio udev/ykfde README.html -bin/ykfde: bin/ykfde.c +bin/ykfde: bin/ykfde.c config.h $(MAKE) -C bin -udev/ykfde: udev/ykfde.c +bin/ykfde-cpio: bin/ykfde-cpio.c config.h + $(MAKE) -C bin + +udev/ykfde: udev/ykfde.c config.h $(MAKE) -C udev +config.h: config.def.h + $(CP) config.def.h config.h + README.html: README.md $(MD) README.md > README.html |