forked from GreatDevelopers/WorkshopTraining
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (30 loc) · 687 Bytes
/
Makefile
File metadata and controls
49 lines (30 loc) · 687 Bytes
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
40
41
42
43
44
45
46
47
48
49
# Including files
include files.mk
include macro.mk
.PHONY : Workshop_file Workshop_file.pdf Workshop_file.html all pdf html clean clean_html clean_pdf targets
# Creating Workshop file
Workshop_file : Workshop_file.pdf Workshop_file.html
Workshop_file.pdf :
$(MAKE) $(PDF_CMD)
Workshop_file.html :
$(MAKE) $(HTML_CMD)
# All output files
all : pdf html
pdf :
$(MAKE) $(PDF_CMD)
html :
$(MAKE) $(HTML_CMD)
# Specific pdf
$(SHOP_PDF) :
$(MAKE) $(PDF_CMD)
$(SHOP_HTML) :
$(MAKE) $(HTML_CMD)
# Clean
clean : clean_pdf clean_html
clean_pdf :
$(MAKE) $(PDF_CMD)
clean_html :
$(MAKE) $(HTML_CMD)
# Showing all possible targets
targets :
@ sed -n p targets.txt