1 2 3 4 5 6 7 8 9 10 11 12 13 14
#! /usr/bin/make -f build: install: set -e; \ for target in $$(cat ../targets); do \ for exe in cpp gcc g++; do \ dir="$${exe}-$${target}.data/usr/bin"; \ mkdir -p "$${dir}"; \ ln -sf "$${target}-$${exe}-4.7" \ "$${dir}/$${target}-$${exe}"; \ done; \ done