Open Firmware

Open Firmware Svn Source Tree

Root/cpu/x86/build/Makefile

Source at commit 3725 created 3 years 6 months ago.
By tooch, core - Tiny lint fixes, detected on Apple LLVM-based SDK. And one not so tiny, as OS X dropped support for sbrk().
1OS := $(shell uname)
2
3all: basefw.dic
4
5.PHONY: FORCE all clean
6
7.PRECIOUS: builder.dic
8
9../${OS}/forth:
10@make -C ../${OS} forth
11
12build: ../${OS}/forth
13@ln -sf ../${OS}/forth $@
14
15%.dic: FORCE build
16./build $@
17
18builder.dic: FORCE build
19-[ ! -f builder.sav ] && cp builder.dic builder.sav
20./build builder.dic
21
22inflate.bin:
23make -C ../${OS} ../build/inflate.bin
24
25# Don't use *.dic so as not to remove builder.dic
26clean:
27rm -f tools.dic kernel.dic basefw.dic
28rm -f *.tag *.log headers *~ inflate.bin build
29make -C ../${OS} clean

Archive Download this file

Revision: 3725