rendered paste body.c.s:
$(CC) $(CFLAGS) -S -o $*.s $<
.s.o:
$(AS) -o $*.o $<
.c.o:
$(CC) $(CFLAGS) -c -o $*.o $<
.S.s:
$(CC) $(ASFLAGS) -D__ASSEMBLY__ -traditional -E -o $*.o $<
.S.o:
$(CC) $(ASFLAGS) -D__ASSEMBLY__ -traditional -c -o $*.o $<
NET_OBJS = net.o
DISK_OBJS = disk.o fs/ext2.o fs/ufs.o fs/dummy.o fs/iso.o
ifeq ($(TESTING),)
ABOOT_OBJS = \
head.o aboot.o cons.o utils.o \
zip/misc.o zip/unzip.o zip/inflate.o
else
ABOOT_OBJS = aboot.o zip/misc.o zip/unzip.o zip/inflate.o
endif
LIBS = lib/libaboot.a
ifeq ($(TESTING),)
all: diskboot
else
all: aboot
endif
diskboot: bootlx sdisklabel/sdisklabel sdisklabel/swriteboot \
tools/e2writeboot tools/isomarkboot tools/abootconf \
tools/elfencap