aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 1dd3151..00810c4 100644
--- a/makefile
+++ b/makefile
@@ -46,8 +46,8 @@ $(DIST_BUILD_DIR)/%.o: src/%.cpp
$(VIEW_DIRECTORIES):
mkdir -p $@
-$(VIEW_FILES):
- cp $(patsubst $(DIST_DIR)/%,$(SRC_VIEW)/%,$@) $@
+$(DIST_DIR)/%: $(SRC_VIEW)/%
+ cp $^ $@
$(DIST_DIR):
mkdir -p $(DIST_DIR)