From: Rudolf Polzer Date: Fri, 2 Aug 2013 11:27:43 +0000 (+0200) Subject: lazy hack to make make work X-Git-Tag: xonotic-v0.8.0~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6ead1aa8fc95a54e7a6edb9f699ffd04872a8d37;p=xonotic%2Fnetradiant.git lazy hack to make make work --- diff --git a/Makefile b/Makefile index 16749c34..debc2e4b 100644 --- a/Makefile +++ b/Makefile @@ -446,7 +446,7 @@ clean: $(CXX) $^ $(LDFLAGS) $(LDFLAGS_COMMON) $(LDFLAGS_EXTRA) $(LIBS_EXTRA) $(LIBS_COMMON) $(LIBS) -o $@ [ -z "$(LDD)" ] || [ -z "`$(LDD) -r $@ $(STDERR_TO_STDOUT) $(STDOUT_TO_DEVNULL) $(TEE_STDERR)`" ] || { $(RM) $@; exit 1; } -%: %.$(EXE) +$(INSTALLDIR)/%: $(INSTALLDIR)/%.$(EXE) if $(MAKE_EXE_SYMLINK); then o=$<; $(LN_SNF) $${o##*/} $@; else true; fi %.$(A):