File: Makefile

package info (click to toggle)
extipl 4.22-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 228 kB
  • ctags: 221
  • sloc: ansic: 924; asm: 470; makefile: 147; sh: 68
file content (28 lines) | stat: -rw-r--r-- 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#	Makefile for samples
#
#  Requires NASM - "The Netwide Assembler"
#  You can get the NASM from http://www.web-sites.co.uk/nasm/
#

# 8086 assembler
ASM86	= nasm

IPLBIN	= lba_xipl.bin lbafdsim.bin
EQU	= ../src/_extipl.equ

all: $(IPLBIN)

.SUFFIXES: .asm .bin
.asm.bin :
	$(ASM86) -f bin -o $@ -l $*.lst $<
	@ls -l $@

lba_xipl.bin: lba_xipl.asm lba_main.asm $(EQU)
lbafdsim.bin: lbafdsim.asm lba_main.asm $(EQU)

xipl.bin: xipl.asm $(EQU)

# myipl.bin: myipl.asm

clean:
	rm -f *.lst *.bak *~ *.core _BootSec.* *.bin