Commit 631b1ec2 authored by Jamie A. Jennings's avatar Jamie A. Jennings

Testing revised makefile that copies files to build directory more intelligently

parent cab1eb2c
Pipeline #141041849 passed with stage
in 1 minute and 12 seconds
......@@ -169,19 +169,23 @@ EXTRA_FILES = $(shell find $(BUILD_ROOT)/extra \! -name '*~' -and \! -name '.DS_
EXTRA_FILES_BUILD = $(patsubst $(BUILD_ROOT)/%,$(BUILD)/lib/rosie/%,$(EXTRA_FILES))
.PHONY: copy_to_build
copy_to_build: $(BUILD)/include/$(LIBROSIE_H) $(RPL_FILES_BUILD) $(DOC_FILES_BUILD) $(EXTRA_FILES_BUILD)
copy_to_build: builddir $(BUILD)/include/$(LIBROSIE_H) $(RPL_FILES_BUILD) $(DOC_FILES_BUILD) $(EXTRA_FILES_BUILD)
$(BUILD)/include/$(LIBROSIE_H): $(BUILD_ROOT)/src/librosie/$(LIBROSIE_H)
cp $< [email protected]
@mkdir -p $(shell dirname "[email protected]")
cp "$<" "[email protected]"
$(BUILD)/lib/rosie/rpl/%: $(BUILD_ROOT)/rpl/%
cp $< [email protected]
@mkdir -p $(shell dirname "[email protected]")
cp "$<" "[email protected]"
$(BUILD)/doc/%: $(BUILD_ROOT)/doc/%
cp $< [email protected]
@mkdir -p $(shell dirname "[email protected]")
cp "$<" "[email protected]"
$(BUILD)/lib/rosie/extra/%: $(BUILD_ROOT)/extra/%
cp $< [email protected]
@mkdir -p $(shell dirname "[email protected]")
cp "$<" "[email protected]"
.PHONY:
compile: $(ROSIEBIN)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment