Mercurial > hg > dmlib
changeset 308:c4d52b8e3be4
Fix building of demo executable, the order of objects for linking was incorrect.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 12 Oct 2012 11:37:06 +0300 |
parents | 397d4a457dc5 |
children | ba6a313f3e0c |
files | Makefile.gen |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.gen Thu Oct 11 21:20:13 2012 +0300 +++ b/Makefile.gen Fri Oct 12 11:37:06 2012 +0300 @@ -341,7 +341,7 @@ @echo " LINK $+" @$(CC) -o $@ $(filter %.o %.a,$+) $(DM_LDFLAGS) $(SDL_LDFLAGS) -$(BINPATH)$(DEMO_BIN)$(EXEEXT): $(OBJPATH)$(DEMO_BIN).o $(DMLIB_A) $(addprefix $(OBJPATH),$(DEMO_OBJS)) +$(BINPATH)$(DEMO_BIN)$(EXEEXT): $(OBJPATH)$(DEMO_BIN).o $(addprefix $(OBJPATH),$(DEMO_OBJS)) $(DMLIB_A) @echo " LINK $+" @$(CC) -o $@ $(filter %.o %.a,$+) $(DM_LDFLAGS) $(SDL_LDFLAGS)