-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
38 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
# | ||
# this is just a top-level makefile to build the simulator | ||
# | ||
all: | ||
|
||
all: src/usersim/sim | ||
|
||
src/usersim/sim src/tools/readall: | ||
cd src ; make | ||
|
||
test: src/usersim/sim | ||
cd src/usersim ; ./sim | ||
test: filesystem src/usersim/sim | ||
src/usersim/sim | ||
|
||
unpack: | ||
cd src/tools; make | ||
filesystem: src/tools/readall | ||
for i in disks/*.image ; do src/tools/readall -d filesystem $$i ; done | ||
cp -r src/kernel filesystem/usr/src/sys | ||
|
||
clean: | ||
for dir in usersim tools src/sgs src/fstools ; do \ | ||
for dir in src ; do \ | ||
(cd $$dir ; make clean) \ | ||
done | ||
|
||
clobber: | ||
for dir in usersim tools src/sgs src/fstools ; do \ | ||
for dir in src ; do \ | ||
(cd $$dir ; make clobber) \ | ||
done | ||
rm -rf filesystem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters