diff -uNr linux-elf/Makefile linux-makefiles/Makefile --- linux-elf/Makefile Mon Apr 1 15:32:18 2002 +++ linux-makefiles/Makefile Mon Apr 1 15:32:41 2002 @@ -146,7 +146,7 @@ .c.s: $(CC) $(CFLAGS) -S -o $*.s $< .s.o: - $(AS) -c -o $*.o $< + $(AS) -o $*.o $< .c.o: $(CC) $(CFLAGS) -c -o $*.o $< diff -uNr linux-elf/drivers/Makefile linux-makefiles/drivers/Makefile --- linux-elf/drivers/Makefile Wed Dec 1 13:44:16 1993 +++ linux-makefiles/drivers/Makefile Mon Apr 1 15:33:00 2002 @@ -12,7 +12,7 @@ .c.s: $(CC) $(CFLAGS) -S $< .s.o: - $(AS) -c -o $*.o $< + $(AS) -o $*.o $< .c.o: $(CC) $(CFLAGS) -c $< diff -uNr linux-elf/drivers/block/Makefile linux-makefiles/drivers/block/Makefile --- linux-elf/drivers/block/Makefile Sun Mar 6 15:08:21 1994 +++ linux-makefiles/drivers/block/Makefile Mon Apr 1 15:32:41 2002 @@ -12,7 +12,7 @@ .c.s: $(CC) $(CFLAGS) -S $< .s.o: - $(AS) -c -o $*.o $< + $(AS) -o $*.o $< .c.o: $(CC) $(CFLAGS) -c $< diff -uNr linux-elf/drivers/char/Makefile linux-makefiles/drivers/char/Makefile --- linux-elf/drivers/char/Makefile Sun Jan 9 14:14:58 1994 +++ linux-makefiles/drivers/char/Makefile Mon Apr 1 15:33:21 2002 @@ -12,7 +12,7 @@ .c.s: $(CC) $(CFLAGS) -S $< .s.o: - $(AS) -c -o $*.o $< + $(AS) -o $*.o $< .c.o: $(CC) $(CFLAGS) -c $< diff -uNr linux-elf/drivers/sound/Makefile linux-makefiles/drivers/sound/Makefile --- linux-elf/drivers/sound/Makefile Fri Jan 21 14:59:46 1994 +++ linux-makefiles/drivers/sound/Makefile Mon Apr 1 15:32:41 2002 @@ -11,7 +11,7 @@ .c.s: $(CC) $(CFLAGS) -S $< .s.o: - $(AS) -c -o $*.o $< + $(AS) -o $*.o $< .c.o: $(CC) $(CFLAGS) -c $< diff -uNr linux-elf/ibcs/Makefile linux-makefiles/ibcs/Makefile --- linux-elf/ibcs/Makefile Wed Dec 1 13:44:15 1993 +++ linux-makefiles/ibcs/Makefile Mon Apr 1 15:32:41 2002 @@ -7,12 +7,14 @@ # # Note 2! The CFLAGS definitions are now in the main makefile... +.S.o: + $(CC) $(CFLAGS) -c -traditional $< -o $*.s .S.s: $(CPP) -traditional $< -o $*.s .c.s: $(CC) $(CFLAGS) -S $< .s.o: - $(AS) -c -o $*.o $< + $(AS) -o $*.o $< .c.o: $(CC) $(CFLAGS) -c $< @@ -26,7 +28,6 @@ dep: $(CPP) -M *.c > .depend - set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i dep; done dummy: diff -uNr linux-elf/kernel/Makefile linux-makefiles/kernel/Makefile --- linux-elf/kernel/Makefile Fri Dec 17 07:14:28 1993 +++ linux-makefiles/kernel/Makefile Mon Apr 1 15:32:41 2002 @@ -7,12 +7,8 @@ # # Note 2! The CFLAGS definitions are now in the main makefile... -.S.s: - $(CPP) -traditional $< -o $*.s -.c.s: - $(CC) $(CFLAGS) -S $< -.s.o: - $(AS) -c -o $*.o $< +.S.o: + $(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o .c.o: $(CC) $(CFLAGS) -c $< @@ -27,10 +23,6 @@ $(LD) -r -o kernel.o $(OBJS) sync -sys_call.s: sys_call.S - -sys_call.o: sys_call.s - sched.o: sched.c $(CC) $(CFLAGS) $(PROFILING) -fno-omit-frame-pointer -c $< diff -uNr linux-elf/lib/Makefile linux-makefiles/lib/Makefile --- linux-elf/lib/Makefile Wed Dec 1 13:44:15 1993 +++ linux-makefiles/lib/Makefile Mon Apr 1 15:32:41 2002 @@ -9,7 +9,7 @@ .c.s: $(CC) $(CFLAGS) -S $< .s.o: - $(AS) -c -o $*.o $< + $(AS) -o $*.o $< .c.o: $(CC) $(CFLAGS) -c $< diff -uNr linux-elf/zBoot/Makefile linux-makefiles/zBoot/Makefile --- linux-elf/zBoot/Makefile Mon Apr 1 15:32:18 2002 +++ linux-makefiles/zBoot/Makefile Mon Apr 1 15:33:53 2002 @@ -17,7 +17,7 @@ .c.s: $(CC) $(CFLAGS) -S -o $*.s $< .s.o: - $(AS) -c -o $*.o $< + $(AS) -o $*.o $< .c.o: $(CC) $(CFLAGS) -c -o $*.o $<