mirror of
https://github.com/ipxe/ipxe
synced 2025-12-10 21:41:09 +03:00
Initial revision
This commit is contained in:
29
contrib/flashimg/Makefile
Normal file
29
contrib/flashimg/Makefile
Normal file
@@ -0,0 +1,29 @@
|
||||
CPPFLAGS = -x assembler-with-cpp
|
||||
AS86 = as86
|
||||
LD86 = ld86
|
||||
OBJDUMP = objdump
|
||||
|
||||
.SUFFIXES: .s86 .asm .aout .img
|
||||
|
||||
all: flashimg.img
|
||||
|
||||
clean:
|
||||
rm -rf *.o *.s86 *.aout *.img
|
||||
|
||||
realclean: clean
|
||||
rm -rf *.img
|
||||
|
||||
.asm.s86: $*.asm $*.inc
|
||||
$(CPP) $(CPPFLAGS) -o $@ $*.asm
|
||||
|
||||
.s86.img: $*.s86
|
||||
$(AS86) -0 -b $@ $*.s86
|
||||
|
||||
# .s86.o: $*.s86
|
||||
# $(AS86) -0 -a -o $@ $*.s86
|
||||
#
|
||||
# .o.aout: $*.o
|
||||
# $(LD86) -0 -s -o $@ $*.o
|
||||
#
|
||||
# .aout.img:
|
||||
# dd if=$*.aout of=$@ bs=32 skip=1
|
||||
Reference in New Issue
Block a user