# HG changeset patch # User Matti Hamalainen # Date 1423085121 -7200 # Node ID 65a5251898a070d2eeda18b30266355a963d9cb1 # Parent 6abb6c25d8ede702902bfa2217776ebc0102afb3 Fix build system for empty DEMO_BIN target. diff -r 6abb6c25d8ed -r 65a5251898a0 Makefile.gen --- 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 ###