2
## CD Linux Loader for SPARC
7
LDFLAGS = -N -Ttext 0x4000
14
$(CC) $(CFLAGS) -c $*.c
17
$(CC) $(CFLAGS) -c $*.S
19
OBJS_COMMON = ../common/prom.o ../common/console.o ../common/tree.o
20
OBJS = crt0.o $(NAME).o $(OBJS_COMMON)
23
$(LD) $(LDFLAGS) -Bstatic -o $@ $(OBJS)
26
dd if=/dev/zero bs=512 count=1 of=$@
27
$(ELFTOAOUT) $< -o $<.aout || ($(RM) $@ && exit 1)
31
$(CC) $(CFLAGS) -c -Wa,-Av9 -o $@ $<
34
$(RM) *.o $(NAME) $(NAME).b $(NAME).aout