]> Dogcows Code - chaz/rasterize/blobdiff - Makefile
add texture mapping with perspective correction
[chaz/rasterize] / Makefile
index 7d119e4061dbf22bde738697f72d7b1a1f010e76..d361c49d719b3d7cfe5a69a3f468c67c729d14b4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,18 @@
 
 PROJECT = rasterize
-IUSE    = DEPTH_TEST EXTRA_INLINE SMOOTH_COLOR
+IUSE    = BACKFACE_CULLING BLENDING DEPTH_TEST EXTRA_INLINE NDEBUG \
+          CALC_NORMALS LIGHTING=3 SMOOTH_COLOR TEXTURING
 
-VIEWER = feh
+VIEWER  = feh
 
 CC      = gcc
 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
-OBJS   = $(SRCS:%.c=%.o)
-DEPS   = $(OBJS:%.o=%.d)
+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)
 
 all: $(PROJECT)
 
@@ -24,6 +25,9 @@ clean:
 distclean: clean
        rm -f tags gmon.out
 
+realclean: distclean
+       rm -rf frames .*.raw .*.obj $(PROJECT).zip
+
 dist:
        git archive HEAD --prefix=$(PROJECT)/ --output=$(PROJECT).zip
 
@@ -36,5 +40,5 @@ debug: $(PROJECT)
 -include $(DEPS)
 $(OBJS): Makefile
 
-.PHONY: all clean distclean run debug
+.PHONY: all clean distclean dist run debug
 
This page took 0.017413 seconds and 4 git commands to generate.