Files
grub/stage1/Makefile.am
T
1999-11-19 17:41:32 +00:00

15 lines
376 B
Makefile

pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
nodist_pkgdata_DATA = stage1
CLEANFILES = $(nodist_pkgdata_DATA)
# We can't use builtins or standard includes.
AM_CFLAGS = $(STAGE1_CFLAGS) -fno-builtin -nostdinc
LDFLAGS = -nostdlib -Wl,-N,-Ttext,7C00
noinst_PROGRAMS = stage1.exec
stage1_exec_SOURCES = stage1.S stage1.h
%: %.exec
$(OBJCOPY) -O binary $< $@