forked from Nu-SCPTheme/Black-Highlighter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (28 loc) · 792 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
MAKEFLAGS += --no-builtin-rules
.SUFFIXES:
.PHONY: default
.PHONY: images css files fonts scp-test legacy
.PHONY: clean
.PHONY: rebuildcss
# Default rule
default: images css files fonts scp-test legacy
# Sub-makefiles included
include build/meta.mk
include build/css.mk
include build/images.mk
include build/files.mk
include build/fonts.mk
include build/legacy.mk
include build/scp-test.mk
# Top-level rules
css: dist/css/min/ dist/css/parts/ dist/css/parts/int/ $(CSS_COPY_OUTPUTS) $(CSS_OUTPUTS)
images: dist/img/ $(IMAGE_COPY_OUTPUTS) $(IMAGE_OPTIMIZE_OUTPUTS)
files: $(FILES_OUTPUTS)
fonts: dist/fonts/ $(FONTS_COPY_OUTPUTS)
scp-test: $(SCP_TEST_OUTPUTS)
legacy: dist/stable/styles/ $(LEGACY_CSS_OUTPUTS)
# Utility rules
clean:
rm -rf dist
rebuildcss:
rm -rf dist/css && make css