summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2017-01-09 23:10:02 -0800
committerVito Caputo <vcaputo@gnugeneration.com>2017-01-10 08:23:54 -0800
commit65f1c4bbd7f7abff9469789f3ddc746caa1a3965 (patch)
treee83176b5cbea121386c2fbb00ddf4ec81ecd5f47 /modules
parent6e284f6cfda2b436e7871d34367c3478aa211942 (diff)
*: preliminary autotools adoption
Builds were getting too time consuming, autotools is a very simple way to get incremental builds without having to dick with Makefiles myself.
Diffstat (limited to 'modules')
-rw-r--r--modules/Makefile.am1
-rw-r--r--modules/ray/Makefile.am4
-rw-r--r--modules/roto/Makefile.am4
-rw-r--r--modules/sparkler/Makefile.am4
-rw-r--r--modules/stars/Makefile.am4
5 files changed, 17 insertions, 0 deletions
diff --git a/modules/Makefile.am b/modules/Makefile.am
new file mode 100644
index 0000000..a291174
--- /dev/null
+++ b/modules/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = ray roto sparkler stars
diff --git a/modules/ray/Makefile.am b/modules/ray/Makefile.am
new file mode 100644
index 0000000..a0b3fbb
--- /dev/null
+++ b/modules/ray/Makefile.am
@@ -0,0 +1,4 @@
+noinst_LIBRARIES = libray.a
+libray_a_SOURCES = ray_3f.h ray.c ray_camera.c ray_camera.h ray_color.h ray_euler.h ray.h ray_light_emitter.h ray_object.c ray_object.h ray_object_light.h ray_object_plane.h ray_object_point.h ray_object_sphere.h ray_object_type.h ray_ray.h ray_scene.c ray_scene.h ray_surface.h ray_threads.c ray_threads.h
+libray_a_CFLAGS = @ROTOTILLER_CFLAGS@ -ffast-math
+libray_a_CPPFLAGS = @ROTOTILLER_CFLAGS@ -I../../
diff --git a/modules/roto/Makefile.am b/modules/roto/Makefile.am
new file mode 100644
index 0000000..08d8522
--- /dev/null
+++ b/modules/roto/Makefile.am
@@ -0,0 +1,4 @@
+noinst_LIBRARIES = libroto.a
+libroto_a_SOURCES = roto.c roto.h
+libroto_a_CFLAGS = @ROTOTILLER_CFLAGS@
+libroto_a_CPPFLAGS = @ROTOTILLER_CFLAGS@ -I../../
diff --git a/modules/sparkler/Makefile.am b/modules/sparkler/Makefile.am
new file mode 100644
index 0000000..13d8e8a
--- /dev/null
+++ b/modules/sparkler/Makefile.am
@@ -0,0 +1,4 @@
+noinst_LIBRARIES = libsparkler.a
+libsparkler_a_SOURCES = bsp.c bsp.h burst.c chunker.c chunker.h container.h draw.h list.h particle.c particle.h particles.c particles.h rocket.c simple.c spark.c sparkler.c sparkler.h v3f.h xplode.c
+libsparkler_a_CFLAGS = @ROTOTILLER_CFLAGS@ -ffast-math
+libsparkler_a_CPPFLAGS = @ROTOTILLER_CFLAGS@ -I../../
diff --git a/modules/stars/Makefile.am b/modules/stars/Makefile.am
new file mode 100644
index 0000000..e709e85
--- /dev/null
+++ b/modules/stars/Makefile.am
@@ -0,0 +1,4 @@
+noinst_LIBRARIES = libstars.a
+libstars_a_SOURCES = draw.h stars.c stars.h starslib.c starslib.h
+libstars_a_CFLAGS = @ROTOTILLER_CFLAGS@
+libstars_a_CPPFLAGS = @ROTOTILLER_CFLAGS@ -I../../
© All Rights Reserved