25 lines
332 B
Makefile
25 lines
332 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
|
|
|
|
clean:
|
|
$(RM) *.o
|
|
|
|
-include .*.o.d
|