You can do the following with the makefiles.
- Run
make
in the root folder to compile everything and put the output in anOutput
folder. - Run
make
in theCLibExtensions
folder or theScheduler
folder to build what is in the respective folders. - Run
make clean
to delete all intermediate and binary files generated from running make. - Run
make PRINT_PROCESSES_DATA=true
from the root folder or theScheduler
folder to make the Scheduler print the data it reads in before executing the rest of main.
Make sure that processes.in
is inside the Output
folder.
cd
into the Output
folder and run ./Scheduler processes.in
. The output will be generated in the same folder as processes.out
.
There are a few additional data structures that can be used for this project (e.g. stacks and vectors). See their header files in the CLibExtensions
folder for how to utilize them.