From 6437980d51e5690e79429d552728800c14a53843 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 16 Jan 2001 13:11:36 +0000 Subject: Makefile fixes --- libc/sysdeps/linux/m68k/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/m68k/Makefile') diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile index 12c659a07..1b5eb6195 100644 --- a/libc/sysdeps/linux/m68k/Makefile +++ b/libc/sysdeps/linux/m68k/Makefile @@ -39,17 +39,18 @@ COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(SOBJS) $(MOBJ) $(COBJS) -all: $(OBJS) $(CRT0_OBJ) $(LIBC) -$(LIBC): ar-target +all: $(OBJS) $(LIBC) -ar-target: $(OBJS) +$(LIBC): ar-target + +ar-target: $(OBJS) $(CRT0_OBJ) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) + cp $(CRT0_OBJ) $(TOPDIR)/$(CRT0_OBJ) $(CRT0_OBJ): %.o : %.S $(CC) $(CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o - cp $*.o $(TOPDIR)/libcrt0.o $(SOBJS): %.o : %.S $(CC) $(CFLAGS) -c $< -o $@ -- cgit v1.2.3