forked from stfwi/redstonepen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
36 lines (29 loc) · 768 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
# @file Makefile
# @author Stefan Wilhelm (wile)
# @license MIT
#
# GNU Make makefile based build relay.
# Note for reviewers/clones: This file is a auxiliary script for my setup.
# It's not needed to build the mod.
#
.PHONY: default init clean clean-all mrproper sanitize dist dist-all
default: ; @echo "First change to specific version directory."
dist: default
clean:
-@cd 1.16; make -s clean
-@cd 1.17; make -s clean
clean-all:
-@cd 1.16; make -s clean-all
-@cd 1.17; make -s clean-all
mrproper:
-@cd 1.16; make -s mrproper
-@cd 1.17; make -s mrproper
sanitize:
-@cd 1.16; make -s sanitize
-@cd 1.17; make -s sanitize
init:
-@cd 1.16; make -s init
-@cd 1.17; make -s init
dist-all: clean-all init
-@cd 1.16; make -s dist
-@cd 1.17; make -s dist