# Makefile for i386 boot program
# define FLOPPY and SMALL using DEFINES macro as necessary
-CFLAGS = -O $(MORECPP) -arch i386 -g -mi386:unaligned-text -static
+CFLAGS = -O $(MORECPP) -arch i386 -g -static
DEFINES=
CONFIG = hd
LIBDIR = libsa
VPATH = $(OBJROOT):$(SYMROOT)
-# SUBDIRS = rcz util libsa libsaio sarld nasm boot2 boot1 boot0 strings
-SUBDIRS = rcz util libsa libsaio nasm boot2 boot1 boot0 strings
+# The order of building is important.
+SUBDIRS = rcz util libsa libsaio nasm boot2 boot1 boot1u boot0 cdboot strings
all tags clean debug install installhdrs:
@for i in ${SUBDIRS}; \