X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Frasterize;a=blobdiff_plain;f=Makefile;h=bbcd2f6b716cfa5a2db9dbb4bfb72f60d23ec5a5;hp=4a5844d8aa7df6a6e4a26dc39126b8aaa99fb6d3;hb=95850b98f73ad7033af60a30e324e9c3cda55389;hpb=143da66e7f625b7f195a115b9740a748ee003534 diff --git a/Makefile b/Makefile index 4a5844d..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 model.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