Commit 5395f175 authored by Christoffer Ackelman's avatar Christoffer Ackelman

Removed unused makefile rule.

parent 2cd84f78
......@@ -21,7 +21,6 @@ source_dirs := $(co_source)
-include jsw_local.mk
vpath %.js $(co_source)
vpath %.ts $(co_source)
vpath %.html $(co_source)
vpath %.png $(co_source)
......@@ -34,15 +33,6 @@ js_sources := $(sort \
) \
)
ts_sources := $(sort \
$(foreach file, \
$(foreach dir, \
$(source_dirs), \
$(wildcard $(dir)/*.ts) \
), $(notdir $(file)) \
) \
)
html_sources := $(sort \
$(foreach file, \
$(foreach dir, \
......@@ -71,12 +61,10 @@ css_sources := $(sort \
)
export_js := $(addprefix $(web_dir)/,$(js_sources))
export_ts := $(addprefix $(web_dir)/,$(ts_sources))
export_html := $(addprefix $(web_dir)/,$(html_sources))
export_png := $(addprefix $(web_dir)/,$(png_sources))
export_css := $(addprefix $(web_dir)/,$(css_sources))
clean_js := $(patsubst %.js,clean_%.js, $(js_sources))
clean_ts := $(patsubst %.ts,clean_%.ts, $(ts_sources))
clean_html := $(patsubst %.html,clean_%.html, $(html_sources))
clean_png := $(patsubst %.png,clean_%.png, $(png_sources))
clean_css := $(patsubst %.css,clean_%.css, $(css_sources))
......@@ -87,13 +75,13 @@ all : init copy lib exe | silent
init :
copy : $(export_js) $(export_ts) $(export_html) $(export_png) $(export_css) | silent
copy : $(export_js) $(export_html) $(export_png) $(export_css) | silent
lib :
exe :
clean : $(clean_js) $(clean_ts) $(clean_html) $(clean_png) $(clean_css)
clean : $(clean_js) $(clean_html) $(clean_png) $(clean_css)
clean_copy: $(clean)
......@@ -106,10 +94,6 @@ $(clean_js) : clean_%.js : %.js
@ echo "Removing js: $(web_dir)/$*.js"
@ $(rm) $(rmflags) $(web_dir)/$*.js
$(clean_ts) : clean_%.ts : %.ts
@ echo "Removing ts: $(web_dir)/$*.ts"
@ $(rm) $(rmflags) $(web_dir)/$*.ts
$(clean_html) : clean_%.html : %.html
@ echo "Removing html: $(web_dir)/$*.html"
@ $(rm) $(rmflags) $(web_dir)/$*.html
......
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