# Semana 3: simuladores de planificación.
#   make         compila todo
#   make test    corre los ejemplos de los apuntes
#   make clean   borra los binarios
CFLAGS = -Wall -Wextra -g
LDLIBS = -lm
PROGS  = sched mlfq rtsched

all: $(PROGS)

test: $(PROGS)
	./sched fifo 12 3 3
	./sched stcf 12 3@2 3@2
	./sched -q 3 -c 1 rr 6 6 6
	./mlfq 20 6@10
	./mlfq -o 20 15@8:3/1
	./mlfq 20 15@8:3/1
	./rtsched 3/6 4/9

clean:
	rm -f $(PROGS)

.PHONY: all test clean
