Skip to content

Commit e63a2a6

Browse files
committed
Update Makefile
1 parent 02a807e commit e63a2a6

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

Makefile

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,43 @@
1-
clean:
2-
@# just delete specific directories instead of .builds so we don't
3-
@# have to re-fetch dependencies
4-
@rm -f .build/debug
5-
@rm -rf .build/*-apple-macosx/
6-
@rm -rf .build/*-unknown-linux/
7-
@rm -rf .build/*-unknown-linux-gnu/
8-
9-
macos-5.5: clean
1+
macos-5.5:
102
@echo
113
@echo === Building $@ ===
124
env DEVELOPER_DIR=/Applications/Xcode-13.2.1.app xcrun swift build
135

14-
macos-5.6: clean
6+
macos-5.6:
157
@echo
168
@echo === Building $@ ===
179
env DEVELOPER_DIR=/Applications/Xcode-13.4.1.app xcrun swift build
1810

19-
macos-5.7: clean
11+
macos-5.7:
2012
@echo
2113
@echo === Building $@ ===
2214
env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun swift build
2315

24-
linux-5.5: clean
16+
linux-5.5:
2517
@echo
2618
@echo === Building $@ ===
2719
docker run --rm -v "$(PWD)":/host -w /host "swift:5.5-focal" swift build
2820

29-
linux-5.6: clean
21+
linux-5.6:
3022
@echo
3123
@echo === Building $@ ===
3224
docker run --rm -v "$(PWD)":/host -w /host "swift:5.6-focal" swift build
3325

34-
linux-5.7: clean
26+
linux-5.7:
3527
@echo
3628
@echo === Building $@ ===
3729
docker run --rm -v "$(PWD)":/host -w /host "swift:5.7-focal" swift build
3830

39-
linux: clean \
31+
linux: \
4032
linux-5.5 \
4133
linux-5.6 \
4234
linux-5.7
4335

44-
macos: clean \
36+
macos: \
4537
macos-5.5 \
4638
macos-5.6 \
4739
macos-5.7
4840

49-
all: clean \
41+
all: \
5042
macos \
5143
linux

0 commit comments

Comments
 (0)