changeset 572:5a051ead61db

Fix build.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 17 Mar 2013 04:34:12 +0200
parents 8a98037c5cf7
children 14640d0688d3
files Makefile.gen
diffstat 1 files changed, 12 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Sun Feb 17 08:26:39 2013 +0200
+++ b/Makefile.gen	Sun Mar 17 04:34:12 2013 +0200
@@ -188,6 +188,18 @@
 #DMLIB_OBJS+=jmix_simd.o
 #endif
 
+ifeq ($(DM_BUILD_TOOLS),yes)
+ifeq ($(DM_USE_STDIO),yes)
+ifeq ($(JSS_SUP_JSSMOD),yes)
+ifeq ($(JSS_SUP_XM),yes)
+TOOL_BINARIES+= xm2jss
+endif
+endif
+endif
+endif
+DMLIB_OBJS += jss.o jssmix.o jssmod.o jssplr.o
+endif
+
 
 ### Dependancies
 ifeq ($(DM_BUILD_TOOLS),yes)
@@ -206,19 +218,10 @@
 endif
 endif
 
-ifeq ($(JSS_SUP_JSSMOD),yes)
-ifeq ($(JSS_SUP_XM),yes)
-TOOL_BINARIES+= xm2jss
-endif
-endif
 endif
 endif
 
 
-DMLIB_OBJS += jss.o jssmix.o jssmod.o jssplr.o
-
-endif
-
 
 ifeq ($(DM_USE_LIBPNG),yes)
 DM_CFLAGS += -DDM_USE_LIBPNG $(LIBPNG_CFLAGS) $(ZLIB_CFLAGS)