Mercurial > hg > dmlib
changeset 887:65a5251898a0
Fix build system for empty DEMO_BIN target.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Feb 2015 23:25:21 +0200 |
parents | 6abb6c25d8ed |
children | 85fab9d640ec |
files | Makefile.gen |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.gen Wed Feb 04 23:22:13 2015 +0200 +++ b/Makefile.gen Wed Feb 04 23:25:21 2015 +0200 @@ -505,9 +505,11 @@ ### ### Demo binary ### +ifneq ($(DEMO_BIN),) $(BINPATH)$(DEMO_BIN)$(EXEEXT): $(addprefix $(OBJPATH),$(DEMO_OBJS)) $(DMLIB_A) @echo " LINK $+" @$(CC) -o $@ $(filter %.o %.a,$+) $(DM_LDFLAGS) $(SDL_LDFLAGS) -lm +endif ###