diff options
-rw-r--r-- | src/Makefile.am | 5 | ||||
-rw-r--r-- | src/obj2model.c | 23 |
2 files changed, 27 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 5539d18..2d084a8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,5 @@ -bin_PROGRAMS = thrust3d gentexture +bin_PROGRAMS = thrust3d +noinst_PROGRAMS = gentexture obj2model thrust3d_SOURCES = main.c model.c render.c physics.c game.c texture.c utils.c audio.c render-text.c @@ -7,6 +8,8 @@ thrust3d_SOURCES = main.c model.c render.c physics.c game.c texture.c utils.c au gentexture_SOURCES = gentexture.c +obj2model_SORUCES = obj2model.c + AM_CFLAGS = -Wall AM_CPPFLAGS = -DDATADIR=\""$(datadir)"/thrust3d\" diff --git a/src/obj2model.c b/src/obj2model.c new file mode 100644 index 0000000..a3ac831 --- /dev/null +++ b/src/obj2model.c @@ -0,0 +1,23 @@ +/* + * obj2model.c + * + * Turn Wavefront OBJ files into Thrust3D models + * + * (c) 2008 Thomas White <taw27@cam.ac.uk> + * + * thrust3d - a silly game + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdlib.h> + +int main(int argc, char *argv[]) { + + return 0; + +} + |