summaryrefslogtreecommitdiffstats
path: root/libdimension-python/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension-python/Makefile.am')
-rw-r--r--libdimension-python/Makefile.am29
1 files changed, 8 insertions, 21 deletions
diff --git a/libdimension-python/Makefile.am b/libdimension-python/Makefile.am
index 9919a1a..c1f5274 100644
--- a/libdimension-python/Makefile.am
+++ b/libdimension-python/Makefile.am
@@ -1,5 +1,5 @@
###########################################################################
-## Copyright (C) 2009-2011 Tavian Barnes <tavianator@tavianator.com> ##
+## Copyright (C) 2011 Tavian Barnes <tavianator@tavianator.com> ##
## ##
## This file is part of The Dimension Build Suite. ##
## ##
@@ -25,26 +25,13 @@ INCLUDES = -I$(top_srcdir)/libdimension
AM_CFLAGS = $(Python_CFLAGS)
AM_LDFLAGS = $(Python_LDFLAGS)
+dimension.c: dimension.pyx dimension.pxd
+ cython --line-directives dimension.pyx
+
pyexec_LTLIBRARIES = dimension.la
-dimension_la_SOURCES = Camera.c \
- Camera.h \
- Canvas.c \
- Canvas.h \
- Color.c \
- Color.h \
- Matrix.c \
- Matrix.h \
- Object.c \
- Object.h \
- PerspectiveCamera.c \
- PerspectiveCamera.h \
- Scene.c \
- Scene.h \
- Sphere.c \
- Sphere.h \
- Vector.c \
- Vector.h \
- dimension.c \
- dimension-python.h
+dimension_la_SOURCES = dimension.c
dimension_la_LDFLAGS = -avoid-version -module
dimension_la_LIBADD = $(top_builddir)/libdimension/libdimension.la
+
+EXTRA_DIST = dimension.pyx \
+ dimension.pxd