summaryrefslogtreecommitdiffstats
path: root/build
blob: c75e3693efc5022bbdde48bd07b1298f5d47fa50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/make -f

build:

install:
	mkdir -p dest/usr/bin
	cp src/c89/c89.sh dest/usr/bin/c89
	cp src/c99/c99.sh dest/usr/bin/c99
	set -e; for target in $$(cat ../targets); do \
		ln -sf "$${target}-gcc-4.7" "dest/usr/bin/$${target}-gcc"; \
		ln -sf "$${target}-g++-4.7" "dest/usr/bin/$${target}-g++"; \
	done
	oh-installfiles