CPPFLAGS= -MMD $(IUSE:%=-D%)
LDLIBS = -lm
-SRCS = main.c common.c list.c raster.c rbtree.c scene.c
+SRCS = main.c array.c common.c list.c model.c raster.c rbtree.c scene.c
OBJS = $(SRCS:%.c=%.o)
DEPS = $(OBJS:%.o=%.d)
distclean: clean
rm -f tags gmon.out
+wipeout: distclean
+ rm -rf *.ppm *.bmp *.avi frames .*.raw .*.obj
+
dist:
git archive HEAD --prefix=$(PROJECT)/ --output=$(PROJECT).zip
-include $(DEPS)
$(OBJS): Makefile
-.PHONY: all clean distclean run debug
+.PHONY: all clean distclean dist run debug