diff Makefile.gen @ 34:7908061da010

Fix building of JSS mixer parts.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Sep 2012 20:31:10 +0300
parents d1a6833a5d67
children 033c660c25f5
line wrap: on
line diff
--- a/Makefile.gen	Sat Sep 29 18:51:09 2012 +0300
+++ b/Makefile.gen	Sat Sep 29 20:31:10 2012 +0300
@@ -206,6 +206,9 @@
 ### dmlib rules
 ###
 
+$(DMLIB)jmix_c.c: $(DMLIB)jmix_c.in.c $(DMLIB)jmix_c.h $(DMLIB)jmix_post.h
+	(echo "#include \"jssmix.h\"" && cpp $<) | sed "s/^# .*//g" > $@
+
 $(OBJPATH)dmimage.o: $(DMLIB)dmimage.c $(DMLIB)stb_image.c
 	@echo " CC $+"
 	@$(CC) $(CFLAGS) -c -o $@ $< $(DM_CFLAGS)
@@ -228,9 +231,6 @@
 	@$(AR) cru $@ $+ $(addprefix $(OBJPATH),$(DMLIB_OBJS))
 	@$(RANLIB) $@
 
-$(DMLIB)jmix_c.c: $(DMLIB)jmix_c.in.c $(DMLIB)jmix_c.h $(DMLIB)jmix_post.h
-	(echo "#include \"jssmix.h\"" && cpp $<) | sed "s/^# .*//g" > $@
-
 
 
 ###