diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-08 00:23:18 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-08 00:23:18 +0100 |
commit | 1d96277f5d4c615ca4018d9a6e867c980db3b73a (patch) | |
tree | 39f016658d8f2d7f23e6a14f63ca6889e52370a5 /Makefile | |
parent | 38dfc5c580c8ba418783ec8cbee1a78c7cd5f788 (diff) | |
download | yosys-1d96277f5d4c615ca4018d9a6e867c980db3b73a.tar.gz yosys-1d96277f5d4c615ca4018d9a6e867c980db3b73a.tar.bz2 yosys-1d96277f5d4c615ca4018d9a6e867c980db3b73a.zip |
Added add_share_file Makefile macro
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -143,6 +143,13 @@ ifeq ($(ENABLE_COVER),1) CXXFLAGS += -DYOSYS_ENABLE_COVER endif +define add_share_file +EXTRA_TARGETS += $(1)/$(notdir $(2)) +$(1)/$(notdir $(2)): $(2) + $$(P) mkdir -p $(1) + $$(Q) cp $(2) $(1)/$(notdir $(2)) +endef + ifeq ($(PRETTY), 1) P_STATUS = 0 P_OFFSET = 0 |