Files
grub/stage1/Makefile
T
1999-02-22 03:20:36 +00:00

20 lines
315 B
Makefile

#
# GRUB stage1 makefile
#
CFLAGS= $(SHARED_FLAGS)
all: ../bin/stage1
stage1.o: stage1.S
$(CC) $(CFLAGS) -c -o stage1.o stage1.S
stage1.exec: stage1.o
$(LD) -N -Ttext 7C00 -o stage1.exec stage1.o
../bin/stage1: stage1.exec
$(OBJCOPY) -O binary stage1.exec ../bin/stage1
clean:
rm -f stage1.o stage1.exec