Mercurial > hg > dmlib
diff Makefile.gen @ 690:84811c6dd32d
Added Auval with removed Lua dependancy, using dmeval only.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 16 Apr 2013 16:54:42 +0300 |
parents | 69337f2fc4a4 |
children | 0ad76fa080ca |
line wrap: on
line diff
--- a/Makefile.gen Tue Apr 16 16:38:25 2013 +0300 +++ b/Makefile.gen Tue Apr 16 16:54:42 2013 +0300 @@ -122,6 +122,12 @@ DM_CFLAGS += -DDM_GFX_TTF_TEXT DMLIB_OBJS += dmtext_ttf.o +ifeq ($(DM_BUILD_TOOLS),yes) +ifeq ($(DM_GFX_BLITS),yes) +TOOL_BINARIES += auval +endif +endif + ifeq ($(DM_BUILD_TESTS),yes) ifeq ($(DM_GFX_BLITS),yes) ifeq ($(DM_USE_STDIO),yes) @@ -468,6 +474,10 @@ @echo " LINK $+" @$(CC) -o $@ $(filter %.o %.a,$+) $(DM_LDFLAGS) -lm +$(BINPATH)auval$(EXEEXT): $(OBJPATH)auval.o $(OBJPATH)dmeval.o $(DMLIB_A) + @echo " LINK $+" + @$(CC) -o $@ $(filter %.o %.a,$+) $(DM_LDFLAGS) $(SDL_LDFLAGS) -lSDL_ttf + ### ### Demo binary