X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Frasterize;a=blobdiff_plain;f=Makefile;h=bbcd2f6b716cfa5a2db9dbb4bfb72f60d23ec5a5;hp=7d119e4061dbf22bde738697f72d7b1a1f010e76;hb=95850b98f73ad7033af60a30e324e9c3cda55389;hpb=e16cf0578f4baaf879e4ab9d3528a765bfd29be0 diff --git a/Makefile b/Makefile index 7d119e4..bbcd2f6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PROJECT = rasterize -IUSE = DEPTH_TEST EXTRA_INLINE SMOOTH_COLOR +IUSE = BACKFACE_CULLING BLENDING DEPTH_TEST EXTRA_INLINE CALC_NORMALS LIGHTING=3 SMOOTH_COLOR VIEWER = feh @@ -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