papercraft/Makefile
2018-03-02 20:00:51 -05:00

28 lines
416 B
Makefile

CFLAGS = \
-std=c99 \
-g \
-O3 \
-W \
-Wall \
-Wp,-MMD,$(dir $@).$(notdir $@).d \
-Wp,-MT,$@ \
LDLIBS = \
-lm \
all: unfold wireframe corners faces hiddenwire
unfold: unfold.o
wireframe: wireframe.o
corners: corners.o stl_3d.o
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
clean:
$(RM) *.o
-include .*.o.d