[grits] Cleanup examples organization



commit 750632f31ada5654b804371f4e30a737ad6006f8
Author: Andy Spencer <andy753421 gmail com>
Date:   Mon Jan 24 03:07:02 2011 +0000

    Cleanup examples organization

 examples/.gitignore                      |    7 +++++++
 examples/info/.gitignore                 |    2 --
 examples/plugin/.gitignore               |    1 -
 examples/shader/.gitignore               |    1 -
 examples/{sorting => sort}/flag.png      |  Bin 5573 -> 5573 bytes
 examples/{sorting => sort}/mkfile        |    2 +-
 examples/{sorting => sort}/sort.c        |    0
 examples/{sorting => sort}/sort.glsl     |    0
 examples/sorting/.gitignore              |    2 --
 examples/{sorting => tess}/mkfile        |    7 ++-----
 examples/{sorting/tes.c => tess/split.c} |    0
 examples/tex/.gitignore                  |    1 -
 12 files changed, 10 insertions(+), 13 deletions(-)
---
diff --git a/examples/.gitignore b/examples/.gitignore
index 9d22eb4..50275c9 100644
--- a/examples/.gitignore
+++ b/examples/.gitignore
@@ -1,2 +1,9 @@
 *.o
 *.so
+*.exe
+info/info
+plugin/teapot
+shader/shader
+sort/sort
+tess/split
+tex/tex
diff --git a/examples/sorting/flag.png b/examples/sort/flag.png
similarity index 100%
rename from examples/sorting/flag.png
rename to examples/sort/flag.png
diff --git a/examples/sorting/mkfile b/examples/sort/mkfile
similarity index 88%
copy from examples/sorting/mkfile
copy to examples/sort/mkfile
index 9e83961..1fce404 100644
--- a/examples/sorting/mkfile
+++ b/examples/sort/mkfile
@@ -1,5 +1,5 @@
 MKSHELL=/usr/lib/plan9/bin/rc
-PROGS=sort tes
+PROGS=sort
 PKGS=gtkglext-1.0
 
 sort_cflags=-p -pg -O3
diff --git a/examples/sorting/sort.c b/examples/sort/sort.c
similarity index 100%
rename from examples/sorting/sort.c
rename to examples/sort/sort.c
diff --git a/examples/sorting/sort.glsl b/examples/sort/sort.glsl
similarity index 100%
rename from examples/sorting/sort.glsl
rename to examples/sort/sort.glsl
diff --git a/examples/sorting/mkfile b/examples/tess/mkfile
similarity index 53%
rename from examples/sorting/mkfile
rename to examples/tess/mkfile
index 9e83961..53cc145 100644
--- a/examples/sorting/mkfile
+++ b/examples/tess/mkfile
@@ -1,8 +1,5 @@
 MKSHELL=/usr/lib/plan9/bin/rc
-PROGS=sort tes
+PROGS=split
 PKGS=gtkglext-1.0
-
-sort_cflags=-p -pg -O3
-
-default:V: sort-run
+default:V: split-run
 <$HOME/lib/mkcommon
diff --git a/examples/sorting/tes.c b/examples/tess/split.c
similarity index 100%
rename from examples/sorting/tes.c
rename to examples/tess/split.c



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]