Mercurial > hg > dmlib
diff Makefile.gen @ 49:033c660c25f5
Restructure module playing, removing 8bit sample mixing (output can still be
8bit, but samples are internally upconverted to 16bit after module loading.)
Also prepare for floating point mixing support.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 01 Oct 2012 02:51:41 +0300 |
parents | 7908061da010 |
children | 36e2f910219c |
line wrap: on
line diff
--- a/Makefile.gen Mon Oct 01 01:29:26 2012 +0300 +++ b/Makefile.gen Mon Oct 01 02:51:41 2012 +0300 @@ -110,6 +110,10 @@ endif endif +ifeq ($(JSS_MIX_FP),yes) +DM_CFLAGS+=-DJSS_MIX_FP +endif + ifeq ($(JSS_SUP_THREADS),yes) DM_CFLAGS+=-DJSS_SUP_THREADS endif @@ -206,7 +210,7 @@ ### dmlib rules ### -$(DMLIB)jmix_c.c: $(DMLIB)jmix_c.in.c $(DMLIB)jmix_c.h $(DMLIB)jmix_post.h +$(DMLIB)jmix_c.c: $(DMLIB)jmix_c_in.c $(DMLIB)jmixtmpl_c.h $(DMLIB)jmix_post_c.h (echo "#include \"jssmix.h\"" && cpp $<) | sed "s/^# .*//g" > $@ $(OBJPATH)dmimage.o: $(DMLIB)dmimage.c $(DMLIB)stb_image.c