2014-12-14 23:42:18 +01:00
|
|
|
CFLAGS = \
|
2015-01-04 20:59:38 +01:00
|
|
|
-std=c99 \
|
2014-12-14 23:42:18 +01:00
|
|
|
-g \
|
|
|
|
-O3 \
|
|
|
|
-W \
|
|
|
|
-Wall \
|
2015-02-14 23:32:58 +01:00
|
|
|
-Wp,-MMD,$(dir $@).$(notdir $@).d \
|
|
|
|
-Wp,-MT,$@ \
|
2014-12-14 23:42:18 +01:00
|
|
|
|
2015-01-04 20:59:38 +01:00
|
|
|
LDLIBS = \
|
2014-12-14 23:42:18 +01:00
|
|
|
-lm \
|
|
|
|
|
2015-02-15 18:48:51 +01:00
|
|
|
all: unfold wireframe corners faces
|
2014-12-14 23:42:18 +01:00
|
|
|
|
|
|
|
unfold: unfold.o
|
2015-01-25 19:01:34 +01:00
|
|
|
wireframe: wireframe.o
|
2015-02-14 23:32:58 +01:00
|
|
|
corners: corners.o stl_3d.o
|
2015-02-15 18:48:51 +01:00
|
|
|
faces: faces.o stl_3d.o
|
2014-12-14 23:42:18 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) *.o
|
2015-02-14 23:32:58 +01:00
|
|
|
|
|
|
|
-include .*.o.d
|