summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkaashoek <kaashoek>2006-09-07 13:23:41 +0000
committerkaashoek <kaashoek>2006-09-07 13:23:41 +0000
commita64cd81342188c80ce6aef13f1b98300018d786e (patch)
tree3253c256e2f98bd9795e8ea6936a6cdcf9b83ad5 /Makefile
parent1dca3afbbbbbf6ae7ac9d55e027d724a4cbc3459 (diff)
downloadxv6-labs-a64cd81342188c80ce6aef13f1b98300018d786e.tar.gz
xv6-labs-a64cd81342188c80ce6aef13f1b98300018d786e.tar.bz2
xv6-labs-a64cd81342188c80ce6aef13f1b98300018d786e.zip
one regression test program
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 4 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index f72d196..1e1a0a8 100644
--- a/Makefile
+++ b/Makefile
@@ -84,18 +84,10 @@ vectors.S : vectors.pl
ULIB = ulib.o usys.o printf.o umalloc.o
-user1 : user1.o $(ULIB)
- $(LD) -N -e main -Ttext 0 -o user1 user1.o $(ULIB)
- $(OBJDUMP) -S user1 > user1.asm
-
usertests : usertests.o $(ULIB)
$(LD) -N -e main -Ttext 0 -o usertests usertests.o $(ULIB)
$(OBJDUMP) -S usertests > usertests.asm
-fstests : fstests.o $(ULIB)
- $(LD) -N -e main -Ttext 0 -o fstests fstests.o $(ULIB)
- $(OBJDUMP) -S fstests > fstests.asm
-
_echo : echo.o $(ULIB)
$(LD) -N -e main -Ttext 0 -o _echo echo.o $(ULIB)
$(OBJDUMP) -S _echo > echo.asm
@@ -104,10 +96,6 @@ _cat : cat.o $(ULIB)
$(LD) -N -e main -Ttext 0 -o _cat cat.o $(ULIB)
$(OBJDUMP) -S _cat > cat.asm
-userfs : userfs.o $(ULIB)
- $(LD) -N -e main -Ttext 0 -o userfs userfs.o $(ULIB)
- $(OBJDUMP) -S userfs > userfs.asm
-
_init : init.o $(ULIB)
$(LD) -N -e main -Ttext 0 -o _init init.o $(ULIB)
$(OBJDUMP) -S _init > init.asm
@@ -131,8 +119,8 @@ _rm : rm.o $(ULIB)
mkfs : mkfs.c fs.h
cc -o mkfs mkfs.c
-fs.img : mkfs userfs usertests _echo _cat README _init _sh _ls _mkdir _rm fstests
- ./mkfs fs.img userfs usertests _echo _cat README _init _sh _ls _mkdir _rm fstests
+fs.img : mkfs usertests _echo _cat README _init _sh _ls _mkdir _rm fstests
+ ./mkfs fs.img usertests _echo _cat README _init _sh _ls _mkdir _rm fstests
-include *.d
@@ -140,5 +128,5 @@ clean :
/bin/rm -f rm
rm -f *.ps *.tex *.dvi *.idx *.aux *.log *.ind *.ilg \
*.o *.d *.asm vectors.S parport.out \
- bootblock kernel xv6.img user1 userfs usertests \
- fs.img mkfs echo init fstests
+ bootblock kernel xv6.img usertests \
+ fs.img mkfs echo init