Mercurial > hg > dmlib
diff Makefile.gen @ 435:e4a3f183e463
Modularize some more.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 03 Nov 2012 16:08:30 +0200 |
parents | e88b2993801c |
children | 8ca18222db10 |
line wrap: on
line diff
--- a/Makefile.gen Sat Nov 03 14:52:52 2012 +0200 +++ b/Makefile.gen Sat Nov 03 16:08:30 2012 +0200 @@ -189,7 +189,7 @@ ### Dependancies ifeq ($(DM_BUILD_TOOLS),yes) -DMLIB_OBJS += lib64gfx.o +DMLIB_OBJS += libgfx.o lib64gfx.o ifeq ($(DM_USE_STDIO),yes) BINARIES+= objlink data2inc gfxconv ifeq ($(SUP_MODLOAD),yes) @@ -310,6 +310,10 @@ @echo " CC $+" @$(CC) $(CFLAGS) -c -o $@ $< $(DM_CFLAGS) +$(OBJPATH)libgfx.o: $(DMLIB)libgfx.c $(DMLIB)libgfx.h + @echo " CC $+" + @$(CC) $(CFLAGS) -c -o $@ $< $(DM_CFLAGS) $(LIBPNG_CFLAGS) + $(DMLIB_A): $(addprefix $(OBJPATH),$(DMLIB_OBJS)) $(DMLIB)Makefile.gen config.mak @echo " AR $@ $(addprefix $(OBJPATH),$(DMLIB_OBJS))"