uglifyjs=../../../node_modules/uglify-js/bin/uglifyjs
install_path=../../js/ads

help: .SILENT
	echo "options are intstall, clean"
	echo "install_path: $(install_path)"
	find $(install_path) . -ls

clean:  .SILENT
	echo "cleaning out editor backup files..."
	find $(install_path) . -name '*~' -print -delete

install: $(install_path)/drpldr.js
	@echo "installed"

$(install_path)/drpldr.js: drpldr.js
	$(uglifyjs) --source-map-include-sources --source-map drpldr.map drpldr.js > $(install_path)/drpldr.js
	cp drpldr.map $(install_path)/drpldr.map
	@ find $(install_path) . -ls
