lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since d7d6385 was 389f41e, checked in by Martin Decky <martin@…>, 20 years ago |
|
new build system almost finished
|
-
Property mode
set to
100644
|
|
File size:
360 bytes
|
| Line | |
|---|
| 1 | .PHONY: build clean
|
|---|
| 2 |
|
|---|
| 3 | CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mips3 -I../include
|
|---|
| 4 |
|
|---|
| 5 | build: boot.bin
|
|---|
| 6 | cp boot.bin ../../../load.bin
|
|---|
| 7 |
|
|---|
| 8 | boot.bin: boot.o
|
|---|
| 9 | $(LD) -e start -T _link.ld boot.o -o $@
|
|---|
| 10 |
|
|---|
| 11 | boot.o: boot.S
|
|---|
| 12 | $(CC) $(CFLAGS) -c boot.S -o $@
|
|---|
| 13 |
|
|---|
| 14 | clean:
|
|---|
| 15 | -rm -f boot.o boot.bin ../../../load.bin
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.