mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-29 17:17:42 +01:00
e39c53e831
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
51 lines
1.0 KiB
Makefile
51 lines
1.0 KiB
Makefile
!ifndef DESTDIR
|
|
!error Variable DESTDIR must be defined!
|
|
!endif
|
|
|
|
# !ifdef NASM_PREFIX
|
|
# NASM=$(NASM_PREFIX)\nasm
|
|
# !else
|
|
NASM=nasm
|
|
# !endif
|
|
|
|
all: boot0af boot0ss boot0md boot1h boot1h2 boot1f32 boot1f32alt boot1x boot1xalt
|
|
|
|
boot0af: boot0af.s
|
|
@echo -^> "$@"
|
|
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
|
|
|
boot0ss: boot0ss.s
|
|
@echo -^> "$@"
|
|
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
|
|
|
boot0md: boot0md.s
|
|
@echo -^> "$@"
|
|
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
|
|
|
boot1h: boot1h.s
|
|
@echo -^> "$@"
|
|
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
|
|
|
boot1h2: boot1h2.s
|
|
@echo -^> "$@"
|
|
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
|
|
|
boot1f32: boot1f32.s
|
|
@echo -^> "$@"
|
|
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
|
|
|
boot1f32alt: boot1f32alt.s
|
|
@echo -^> "$@"
|
|
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
|
|
|
boot1x: boot1x.s
|
|
@echo -^> "$@"
|
|
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
|
|
|
boot1xalt: boot1xalt.s
|
|
@echo -^> "$@"
|
|
@"$(NASM)" $(@F).s -o $(DESTDIR)\$@
|
|
|
|
clean:
|
|
del /f boot0af boot0ss boot0md boot1h boot1h2 boot1f32 boot1f32alt boot1x boot1xalt *~
|