-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
39 lines (34 loc) · 823 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
SUBDIRS=intro comparch ostruct pm thread schedule ps deadlock mm vm fs
all: slide handout release
slide:
ifeq ($(OS), Windows_NT)
for %%x in ( $(SUBDIRS) ) do $(MAKE) -C %%x slide
else
for subdir in $(SUBDIRS); do \
$(MAKE) -C $${subdir} all; \
done
endif
handout:
ifeq ($(OS), Windows_NT)
for %%x in ( $(SUBDIRS) ) do $(MAKE) -C %%x handout
else
for subdir in $(SUBDIRS); do \
$(MAKE) -C $${subdir} handout; \
done
endif
release:
ifeq ($(OS), Windows_NT)
for %%x in ( $(SUBDIRS) ) do $(MAKE) -C %%x release
else
for subdir in $(SUBDIRS); do \
$(MAKE) -C $${subdir} release; \
done
endif
clean:
ifeq ($(OS), Windows_NT)
for %%x in ( $(SUBDIRS) ) do $(MAKE) -C %%x clean
else
for subdir in $(SUBDIRS); do \
$(MAKE) -C $${subdir} clean; \
done
endif