forked from jcrocholl/kossel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
23 lines (17 loc) · 588 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
all: frame_top.stl frame_motor.stl carriage.stl endstop.stl glass_tab.stl \
effector.stl retractable.stl power_supply.stl extruder.stl frame_extruder.stl \
glass_frame.stl m5_internal.stl plate_3x.stl plate_1x.stl \
switch_holder.stl hotend_fan.stl
.SECONDARY:
# Explicit wildcard expansion suppresses errors when no files are found.
include $(wildcard *.deps)
%.stl: %.ascii.stl
meshlabserver -i $< -o $@ -s meshclean.mlx
%.ascii.stl: %.scad
openscad -m make -d $*.deps -o $@ $<
%.gcode: %.stl
slic3r -o $@ $<
# Replace tabs with spaces.
%.tab: %.scad
cp $< $@
expand $@ > $<