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

PKGS = gcc g++ cpp

$(PKGS): gcc-defaults.buildstamp

.SILENT: gcc-defaults.buildstamp
gcc-defaults.buildstamp:
	mkdir -p dest/usr/bin
	cp src/c89/c89.sh dest/usr/bin/c89
	cp src/c99/c99.sh dest/usr/bin/c99
	ln -s gcc-4.6 dest/usr/bin/gcc
	oh-installfiles $(PKGS)
	oh-installdocs cpp
	oh-gencontrol $(PKGS)
	oh-buildopk $(PKGS)
	touch $@