OSDN Git Service

tweak rules so we dont have to copy the .c files to get 64bit versions
authorMike Frysinger <vapier@gentoo.org>
Wed, 2 Nov 2005 00:34:27 +0000 (00:34 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 2 Nov 2005 00:34:27 +0000 (00:34 -0000)
libc/stdio/Makefile.in

index ec4e7c1..e6a8f66 100644 (file)
@@ -117,13 +117,12 @@ STDIO_OBJS:=$(STDIO_OBJ) $(STDIO_MOBJ) $(STDIO_CUOBJ) $(STDIO_CLOBJ)
 
 # need this, else the other %64 files will get false rules
 $(STDIO_CLSRC): $(STDIO_OUT)/%64.c : $(STDIO_DIR)/%.c
-       cp $< $@
 
 $(STDIO_CLOBJ): %.o : %.c
-       $(compile.c) -D__DO_LARGEFILE
+       $(compile.c:64.c=.c) -D__DO_LARGEFILE
 
 $(STDIO_CLOBJ:.o=.os): %.os : %.c
-       $(compile.c) -D__DO_LARGEFILE
+       $(compile.c:64.c=.c) -D__DO_LARGEFILE
 
 $(STDIO_MOBJ1): $(STDIO_MSRC1)
        $(compile.m)