diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-02-09 20:17:17 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-02-09 20:17:17 -0500 |
commit | 342fbcffc1b17f03ae4b9f7de3caccc5e45da0f1 (patch) | |
tree | a4fcf920e20b6e127b19bb4479cf4a311fff77c4 | |
parent | 0529df9a8021d09f592e0a6eef0c19e148c5336e (diff) |
Add examples Makefile.
* Makefile.am (SUBDIRS): Add 'examples'.
* configure.ac (AC_CONFIG_FILES): Add 'examples/Makefile'.
* examples/Makefile.am: New file.
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | examples/Makefile.am | 27 |
3 files changed, 31 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 6d6ed00..80798e2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,4 +41,6 @@ WRAPPER_SOURCES = \ EXTRA_DIST += env.in -SUBDIRS = doc +SUBDIRS = \ + doc \ + examples diff --git a/configure.ac b/configure.ac index fbaf891..061e208 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ else AC_MSG_ERROR([Guile 2.0 required.]) fi -AC_CONFIG_FILES([Makefile doc/Makefile]) +AC_CONFIG_FILES([Makefile doc/Makefile examples/Makefile]) AC_CONFIG_FILES([env], [chmod +x env]) PKG_CHECK_MODULES([SDL], [sdl <= 1.3 sdl >= 1.2]) diff --git a/examples/Makefile.am b/examples/Makefile.am new file mode 100644 index 0000000..ee458d0 --- /dev/null +++ b/examples/Makefile.am @@ -0,0 +1,27 @@ +AUTOMAKE_OPTIONS = gnu + +examplesdir = $(pkgdatadir)/examples +examples_DATA = \ + animation.scm \ + coroutine.scm \ + font.scm \ + particles.scm \ + shader.scm \ + simple.scm \ + tilemap.scm + +imagedir = $(pkgdatadir)/examples/images +image_DATA = \ + images/bullet.png \ + images/p1_front.png \ + images/princess.png \ + images/stars.png \ + images/tiles.png + +fontdir = $(pkgdatadir)/examples/fonts +font_DATA = fonts/Boxy-Bold.ttf + +shaderdir = $(pkgdatadir)/examples/shaders +shader_DATA = \ + shaders/vertex-shader.glsl \ + shaders/fragment-shader.glsl |