]> Devi Nivas Git - cs3210-lab1.git/commitdiff
oops
authorrsc <rsc>
Tue, 28 Aug 2007 17:48:44 +0000 (17:48 +0000)
committerrsc <rsc>
Tue, 28 Aug 2007 17:48:44 +0000 (17:48 +0000)
Makefile

index 0e2bc0f076723f8290b0c02a2b4c3c2420eb9bed..c06348669ae57e270729b2aee8ea404c46761723 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -53,13 +53,13 @@ bootblock: bootasm.S bootmain.c
        ./sign.pl bootblock
 
 bootother: bootother.S
-       $(CC) -nostdinc -I. -c $*.S
+       $(CC) -nostdinc -I. -c bootother.S
        $(LD) -N -e start -Ttext 0x7000 -o bootother.out bootother.o
        $(OBJCOPY) -S -O binary bootother.out bootother
        $(OBJDUMP) -S bootother.o > bootother.asm
 
 initcode: initcode.S
-       $(CC) -nostdinc -I. -c $*.S
+       $(CC) -nostdinc -I. -c initcode.S
        $(LD) -N -e start -Ttext 0 -o initcode.out initcode.o
        $(OBJCOPY) -S -O binary initcode.out initcode
        $(OBJDUMP) -S initcode.o > initcode.asm