diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/i386/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile index bfb8d82ff..ee14d0af6 100644 --- a/libc/sysdeps/linux/i386/Makefile +++ b/libc/sysdeps/linux/i386/Makefile @@ -14,13 +14,19 @@ LIBC=$(TOPDIR)libc.a .S.o: $(CC) $(CFLAGS) -c -o $*.o $< +SSRC=syscall.S +OBJ= setjmp.o longjmp.o readdir.o _start.o _exit.o #select.o include makefile.objs all: $(LIBC) -$(LIBC): $(OBJ) +$(LIBC): $(OBJ) $(LIBC)($(SOBJ)) $(AR) $(ARFLAGS) $@ $(OBJ) +$(LIBC)($(SOBJ)): $(SSRC) + $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o + $(AR) $(ARFLAGS) $@ $*.o + transfer: -@rm -f ../include/stdio.h cp -p stdio.h ../include/. |