2014-12-14 17:42:18 -05:00
|
|
|
CFLAGS = \
|
2015-01-04 14:59:38 -05:00
|
|
|
-std=c99 \
|
2014-12-14 17:42:18 -05:00
|
|
|
-g \
|
|
|
|
-O3 \
|
|
|
|
-W \
|
|
|
|
-Wall \
|
2015-02-14 17:32:58 -05:00
|
|
|
-Wp,-MMD,$(dir $@).$(notdir $@).d \
|
|
|
|
-Wp,-MT,$@ \
|
2014-12-14 17:42:18 -05:00
|
|
|
|
2015-01-04 14:59:38 -05:00
|
|
|
LDLIBS = \
|
2014-12-14 17:42:18 -05:00
|
|
|
-lm \
|
|
|
|
|
2017-09-26 21:37:22 -04:00
|
|
|
all: unfold wireframe corners faces hiddenwire
|
2014-12-14 17:42:18 -05:00
|
|
|
|
|
|
|
unfold: unfold.o
|
2015-01-25 13:01:34 -05:00
|
|
|
wireframe: wireframe.o
|
2015-02-14 17:32:58 -05:00
|
|
|
corners: corners.o stl_3d.o
|
2015-02-15 12:48:51 -05:00
|
|
|
faces: faces.o stl_3d.o
|
2017-09-26 21:37:22 -04:00
|
|
|
hiddenwire: hiddenwire.o camera.o
|
2014-12-14 17:42:18 -05:00
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) *.o
|
2015-02-14 17:32:58 -05:00
|
|
|
|
|
|
|
-include .*.o.d
|