OS-Labs/lab3/Makefile

18 lines
436 B
Makefile

build-sched: src/scheduler.cpp
mkdir -p bin
g++ src/scheduler.cpp -o bin/scheduler.out
run-sched: build-sched
bin/scheduler.out WorkloadFiles/$(WF) $(SA)
build-sched-multi: src/multi_core_scheduler.cpp
mkdir -p bin
g++ src/multi_core_scheduler.cpp -o bin/multi_core_scheduler.out
run-sched-multi: build-sched-multi
bin/multi_core_scheduler.out WorkloadFiles/$(WF) $(SA)
clean:
rm -r bin
.PHONY: build-sched build-sched-multi