]> Dogcows Code - chaz/rasterize/blobdiff - Makefile
add scene lighting constructs; real stdin support
[chaz/rasterize] / Makefile
index 0474ec9e1319692f700c1f5af503c24f5f5c92a9..7d119e4061dbf22bde738697f72d7b1a1f010e76 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,6 @@
 
-PROJECT = project2
-IUSE    = CLIPPING DEPTH_TEST SMOOTH_COLOR \
-                 EXTRA_INLINE NDEBUG RASTER_STATS RENDER_PROGRESS RENDER_TIMER
-
-# BACKFACE_CULLING  avoid drawing triangles that are not facing forward
-# CLIPPING          turn on clipping (you really always want this)
-# DEPTH_TEST        enable the z buffer for depth testing
-# EXTRA_INLINE      allow the compiler to inline even more aggressively
-# LIGHTING          turn the lights on (experimental)
-# NDEBUG            disable assertions and other nonessential checks
-# FIND_NORMALS[=n]  pre-compute vertex normals at loading time
-#                   set to 1 for per-face normals, 2 for averaged normals
-# RASTER_STATS      print triangle count and optimization savings at the end
-# RENDER_PROGRESS   print progress while drawing the scene
-# RENDER_TIMER      add a timer to see how long the renderer takes
-# SMOOTH_COLOR      interpolate colors smoothly between triangle vertices
+PROJECT = rasterize
+IUSE    = DEPTH_TEST EXTRA_INLINE SMOOTH_COLOR
 
 VIEWER = feh
 
@@ -36,10 +22,10 @@ clean:
        rm -f $(PROJECT) $(OBJS) $(DEPS)
 
 distclean: clean
-       rm -f tags gmon.out scene.ppm scene.bmp
+       rm -f tags gmon.out
 
 dist:
-       git archive $(PROJECT) --prefix=$(PROJECT)/ --output=$(PROJECT).zip
+       git archive HEAD --prefix=$(PROJECT)/ --output=$(PROJECT).zip
 
 run: $(PROJECT)
        ./$< && $(VIEWER) scene.ppm
This page took 0.021016 seconds and 4 git commands to generate.