From fc0f3ff28e91d51179ba46f2f83108f08eb6af96 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 23 Jan 2003 13:10:30 +0000 Subject: Rewrite powerpc crt0.S for proper ctor/dtor handling --- libc/sysdeps/linux/powerpc/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/powerpc/Makefile') diff --git a/libc/sysdeps/linux/powerpc/Makefile b/libc/sysdeps/linux/powerpc/Makefile index ef32f868f..5b5967d91 100644 --- a/libc/sysdeps/linux/powerpc/Makefile +++ b/libc/sysdeps/linux/powerpc/Makefile @@ -1,6 +1,6 @@ # Makefile for uClibc # -# Copyright (C) 2000-2002 Erik Andersen +# Copyright (C) 2000-2003 Erik Andersen # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU Library General Public License as published by the Free @@ -20,8 +20,6 @@ TOPDIR=../../../../ include $(TOPDIR)Rules.mak ASFLAGS=$(CFLAGS) -TARGET_MACHINE_TYPE=$(shell $(CC) -dumpmachine) - CRT0_SRC = crt0.S CRT0_OBJ = crt0.o crt1.o @@ -31,7 +29,7 @@ SOBJS=$(patsubst %.S,%.o, $(SSRC)) CSRC=_mmap.c vfork.c __syscall_error.c pread_write.c COBJS=$(patsubst %.c,%.o, $(CSRC)) -OBJS=$(SOBJS) $(MOBJ) $(COBJS) +OBJS=$(SOBJS) $(COBJS) all: $(OBJS) $(LIBC) @@ -56,6 +54,7 @@ $(COBJS): %.o : %.c headers: + clean: rm -f *.[oa] *~ core rm -f bits/sysnum.h -- cgit v1.2.3