From 310b7a57bc03db660874eed67b049a910de369fd Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 29 Dec 2014 19:33:09 +0100 Subject: introduce config.h We now have configuration in just one place. --- Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 60904a9..81b7412 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2