papercraft/Makefile
2015-02-15 12:48:51 -05:00

24 lines
287 B
Makefile

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