summaryrefslogtreecommitdiff
path: root/Makefile
blob: 880eb7e89f8a2635b9400f848bc38a9b75e887dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESTDIR=build

tiles:
	mkdir -p ${DESTDIR}
	for SUITE in suns moons crowns arms; do \
	    for VALUE in null ace 2 3 4 5; do \
	        openscad -o ${DESTDIR}/tile-$$SUITE-$$VALUE.stl \
		-D suite=\"$$SUITE\" -D value=\"$$VALUE\" src/tile.scad; \
	    done \
	done

coins:
	mkdir -p ${DESTDIR}
	for SUITE in suns moons crowns arms; do \
	    for VALUE in null ace 2 3 4 5; do \
	        openscad -o ${DESTDIR}/coin-$$SUITE-$$VALUE.stl \
		-D suite=\"$$SUITE\" -D value=\"$$VALUE\" src/coin.scad; \
	    done \
	done

all: tiles coins