[release] Update version information for 0.9.4 release
[gpxe.git] / contrib / hdload / Makefile
blob9ed750de4a8e55b5c8e25e8005fbc5da1377eb90
1 # Use nasm or as86
2 ASM=nasm
3 # ASM=as86
5 hdload.bin: hdload.S
6 ifeq ($(ASM),as86)
7 gcc $(CFLAGS) -DUSE_AS86 -E -traditional -o hdload.s hdload.S
8 as86 -0 -b hdload.bin hdload.s
9 else
10 gcc $(CFLAGS) -DUSE_NASM -E -traditional -o hdload.s hdload.S
11 nasm -f bin hdload.s -o hdload.bin
12 endif
14 clean:
15 $(RM) -f hdload.s hdload.bin