Skip to content

Commit

Permalink
Merge #279
Browse files Browse the repository at this point in the history
279: Do not generate .deps on clean r=adamgreig a=Disasm



Co-authored-by: Vadim Kaushan <admin@disasm.info>
  • Loading branch information
bors[bot] and Disasm committed Aug 12, 2019
2 parents 2c9fd44 + 718baed commit 4052220
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: patch svd2rust

.PHONY: patch svd2rust form check clean-rs clean-patch clean-html clean
.PRECIOUS: svd/%.svd
.PRECIOUS: svd/%.svd .deps/%.d

SHELL := /usr/bin/env bash

Expand Down Expand Up @@ -35,7 +35,7 @@ CHECK_SRCS := $(foreach crate, $(CRATES), \
$(wildcard devices/$(crate)*.yaml)))

# Turn a devices/device.yaml and svd/device.svd into svd/device.svd.patched
svd/%.svd.patched: devices/%.yaml svd/%.svd
svd/%.svd.patched: devices/%.yaml svd/%.svd .deps/%.d
python3 scripts/svdpatch.py $<

svd/%.svd.formatted: svd/%.svd.patched
Expand Down Expand Up @@ -101,4 +101,4 @@ clean: clean-rs clean-patch clean-html
@mkdir -p .deps
python3 scripts/makedeps.py $< > $@

-include $(patsubst devices/%.yaml, .deps/%.d, $(YAMLS))
-include .deps/*

0 comments on commit 4052220

Please sign in to comment.