[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[b-free: 1334] No subject given
高田です。
makefileですが、そのままいじっていません。
アーカイブの展開場所は/homeの下です。
次にmakefileを出します。
--------------------------
#
# Makefile for boot image.
#
AS=/bin/as
LD=/bin/ld
GCC=/usr/bin/gcc
#CONVOUT=/usr/local/bin/convout
CFLAGS=-D__LINUX__
image: boottable 1stboot 2ndboot build 1stboot
sync
sync
build 1st/1stboot 2nd/2ndboot bootimage
sync
sync
hd_image:boottable 1stboot 2ndboot build 1stboot_hd
sync
sync
build 1st/1stboot_hd 2nd/2ndboot bootimage_hd
sync
sync
fd: image
cp bootimage /dev/rfd0b
1stboot:
cd 1st ; make 1stboot
1stboot_hd:
cd 1st ; make 1stboot_hd
2ndboot:
cd 2nd ; make 2ndboot
build: build.c
$(GCC) -o build build.c
@echo make build done.
boottable: boottable.x mktable
mktable boottable.x boottable
mktable: mktable.c
$(GCC) $(CFLAGS) -o mktable mktable.c
@echo done
clean:
(cd 1st; make clean)
(cd 2nd; make clean)
--------------------------
以上です。
-----
高田光隆
m-takada@kss.co.jp