Before you continue, you must clone the module 4 repository.
From the terminal, navigate to a directory where you want the cloned directory to be created and execute the following command.
$ git clone https://github.com/uu-dsp-os-ospp-2020/module-4.git
Now you should see something similar to this in the terminal.
$ git clone https://github.com/uu-dsp-os-ospp-2020/module-4.git Cloning into 'module-4'... remote: Counting objects: 23, done. remote: Compressing objects: 100% (20/20), done. remote: Total 23 (delta 1), reused 23 (delta 1), pack-reused 0 Unpacking objects: 100% (23/23), done.
To get an overview of the cloned repository, use the
tree -d command.
$> tree -d module-4
Now you should see a tree view of the directory strucure.
module-4 ├── examples │ ├── bin │ ├── obj │ └── src ├── higher-grade │ ├── bin │ ├── obj │ └── src └── mandatory ├── bin ├── obj ├── psem └── src 13 directories
all utility can be used to run a shell command in all subdirectories,
i.e., run a command in all of the three directories
mandatory. In the terminal, navigate to the
For example, you can use the
all utility together with
make to compile all
$ ./all make
all utility can also be used to delete all objects files and executables.
$ ./all make clean