X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Frasterize;a=blobdiff_plain;f=Makefile;h=1af0ade59cb4c638ef11c754054011704e3a3e8b;hp=7d119e4061dbf22bde738697f72d7b1a1f010e76;hb=09dd89d10e65029f0be313dd463ba1f43cac2fbb;hpb=e16cf0578f4baaf879e4ab9d3528a765bfd29be0 diff --git a/Makefile b/Makefile index 7d119e4..1af0ade 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ CFLAGS = -std=c99 -O2 -g -pg 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) @@ -24,6 +24,9 @@ clean: 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 @@ -36,5 +39,5 @@ debug: $(PROJECT) -include $(DEPS) $(OBJS): Makefile -.PHONY: all clean distclean run debug +.PHONY: all clean distclean dist run debug