summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 10 insertions, 3 deletions
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