blob: df0c5a05acf6faf64552d5b8e50b477bd321115b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
include ../Makefile.header
LDFLAGS += -Ttext 0
all: bootsect setup
bootsect: bootsect.s
@$(AS) -o bootsect.o bootsect.s
@$(LD) $(LDFLAGS) -o bootsect bootsect.o
@$(OBJCOPY) -R .pdr -R .comment -R.note -S -O binary bootsect
setup: setup.s
@$(AS) -o setup.o setup.s
@$(LD) $(LDFLAGS) -o setup setup.o
@$(OBJCOPY) -R .pdr -R .comment -R.note -S -O binary setup
head.o: head.s
@$(AS) -o head.o head.s
clean:
@rm -f bootsect bootsect.o setup setup.o head.o
|