mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2026-04-09 14:42:30 +02:00
Makefile: do not rebuild on install
Because the directory timestamp depends on the file insise, this rule cause a second rebuild. Let's just silently create the directory when we require it. Signed-off-by: Willow Barraco <contact@willowbarraco.fr> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
committed by
Maarten van Gompel
parent
987ea03f84
commit
5b29d8c1a7
6
Makefile
6
Makefile
@@ -31,14 +31,12 @@ DOCS = wvkbd.1
|
||||
|
||||
all: ${BIN} ${DOCS}
|
||||
|
||||
$(BUILDDIR):
|
||||
$(BUILDDIR)/config.h:
|
||||
mkdir -p $(BUILDDIR)
|
||||
|
||||
$(BUILDDIR)/config.h: $(BUILDDIR)
|
||||
cp config.$(LAYOUT).h $@
|
||||
|
||||
$(BUILDDIR)/%.o: $(BUILDDIR)
|
||||
$(BUILDDIR)/%.o: %.c
|
||||
mkdir -p $(BUILDDIR)
|
||||
$(CC) -I $(CURDIR) -I $(CURDIR)/$(BUILDDIR) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
proto/%-client-protocol.c: proto/%.xml
|
||||
|
||||
Reference in New Issue
Block a user