diff options
| author | Michael Brown | 2005-05-17 18:44:57 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-05-17 18:44:57 +0200 |
| commit | 1097cf8685cd81f0003bd6f17d050e5174a85b90 (patch) | |
| tree | 47a39f2a1e980cca43c28c4d1a6dfdf431b910b2 /contrib/hdload/Makefile | |
| parent | Quickly hacked to use a buffer rather than a processor. (diff) | |
| download | ipxe-1097cf8685cd81f0003bd6f17d050e5174a85b90.tar.gz ipxe-1097cf8685cd81f0003bd6f17d050e5174a85b90.tar.xz ipxe-1097cf8685cd81f0003bd6f17d050e5174a85b90.zip | |
Initial revision
Diffstat (limited to 'contrib/hdload/Makefile')
| -rw-r--r-- | contrib/hdload/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/hdload/Makefile b/contrib/hdload/Makefile new file mode 100644 index 000000000..9ed750de4 --- /dev/null +++ b/contrib/hdload/Makefile @@ -0,0 +1,15 @@ +# Use nasm or as86 +ASM=nasm +# ASM=as86 + +hdload.bin: hdload.S +ifeq ($(ASM),as86) + gcc $(CFLAGS) -DUSE_AS86 -E -traditional -o hdload.s hdload.S + as86 -0 -b hdload.bin hdload.s +else + gcc $(CFLAGS) -DUSE_NASM -E -traditional -o hdload.s hdload.S + nasm -f bin hdload.s -o hdload.bin +endif + +clean: + $(RM) -f hdload.s hdload.bin |
