diff Makefile.gen @ 573:14640d0688d3

Make timeline stuff optional.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 05 Apr 2013 00:32:06 +0300
parents 5a051ead61db
children 923d920a8a85
line wrap: on
line diff
--- a/Makefile.gen	Sun Mar 17 04:34:12 2013 +0200
+++ b/Makefile.gen	Fri Apr 05 00:32:06 2013 +0300
@@ -15,6 +15,10 @@
 ###
 ### Editor
 ###
+ifeq ($(DM_USE_TIMELINE),yes)
+DM_CFLAGS+=-DDM_USE_TIMELINE
+DMLIB_OBJS += dmtimeline.o dmtimelinew.o
+
 ifeq ($(DM_BUILD_EDITOR),yes)
 ifneq ($(DEMO_BIN),)
 BINARIES += ed_$(DEMO_BIN)
@@ -22,6 +26,7 @@
 TMPFILES += $(OBJPATH)moc_*
 endif
 endif
+endif
 
 EDITOR_PRO = editor.pro
 EDITOR_MAKEFILE = Makefile.editor
@@ -240,7 +245,7 @@
 DMLIB_A=$(OBJPATH)dmlib.a
 DMLIB_OBJS += dmfile.o dmbstr.o dmlib.o dmlerp.o dmstring.o \
 	dmargs.o dmvecmat.o dmperlin.o dmimage.o \
-	dmwav.o	dmengine.o dmtimeline.o dmtimelinew.o dmq3d.o
+	dmwav.o	dmengine.o  dmq3d.o
 
 ifeq ($(DM_BUILD_TESTS),yes)
 BINARIES += vecmattest fptest