papercraft/Makefile

28 lines
416 B
Makefile
Raw Normal View History

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 \
2017-09-27 03:37:22 +02:00
all: unfold wireframe corners faces hiddenwire
2014-12-14 23:42:18 +01:00
unfold: unfold.o
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
hiddenwire: hiddenwire.o camera.o tri.o
# Test the triangle intersection code
test-intersect: test-intersect.o tri.o
2014-12-14 23:42:18 +01:00
clean:
$(RM) *.o
2015-02-14 23:32:58 +01:00
-include .*.o.d