1pkglibdir = $(libdir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
2nodist_pkglib_DATA = stage1
3
4CLEANFILES = $(nodist_pkglib_DATA)
5
6# We can't use builtins or standard includes.
7AM_CCASFLAGS = $(STAGE1_CFLAGS) -fno-builtin -nostdinc
8LDFLAGS = -nostdlib -Wl,-N,-Ttext,7C00
9
10noinst_PROGRAMS = stage1.exec
11stage1_exec_SOURCES = stage1.S stage1.h
12
13SUFFIXES = .exec
14.exec:
15	$(OBJCOPY) -O binary $< $@
16