source: mainline/arch/ppc32/boot/Makefile@ 4457455

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 4457455 was 6bc4dbd, checked in by Martin Decky <martin@…>, 20 years ago

new build system upgrade
finished work for IA-32, IA-64, PPC-32, SPARC-64

  • Property mode set to 100644
File size: 436 bytes
Line 
1.PHONY: build clean
2
3CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -I../include
4
5build: boot.bin
6 cp boot.bin ../../../load.bin
7
8boot.bin: boot.o main.o
9 $(LD) -no-check-sections -N -T _link.ld boot.o main.o -o $@
10
11boot.o: boot.S
12 $(CC) $(CFLAGS) -c boot.S -o $@
13
14main.o: main.c
15 $(CC) $(CFLAGS) -c main.c -o $@
16
17clean:
18 -rm -f boot.o main.o boot.bin ../../../load.bin
Note: See TracBrowser for help on using the repository browser.