]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
lazy hack to make make work
authorRudolf Polzer <divverent@xonotic.org>
Fri, 2 Aug 2013 11:27:43 +0000 (13:27 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 2 Aug 2013 11:27:43 +0000 (13:27 +0200)
Makefile

index 16749c34691b352ff190922f26e58a3b8034a25d..debc2e4b8d2495e00290bf8792166d1abab14e02 100644 (file)
--- 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):