From: Ben Pfaff Date: Mon, 13 Sep 2004 22:55:54 +0000 (+0000) Subject: Use symbolic links instead of hard links, because hard links don't X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d67602258211357b885dcaaa8f7506250ff522ae;p=pintos-anon Use symbolic links instead of hard links, because hard links don't work between directories on AFS. --- diff --git a/src/Makefile.kernel b/src/Makefile.kernel index 91146a8..04214fd 100644 --- a/src/Makefile.kernel +++ b/src/Makefile.kernel @@ -1,6 +1,6 @@ include Makefile.vars BUILD_SUBDIRS = $(addprefix build/, $(SUBDIRS)) -LN = ln +LN_S = ln -s MKDIR = mkdir all: build build/Makefile $(BUILD_SUBDIRS) @@ -11,7 +11,7 @@ $(BUILD_SUBDIRS): build: $(MKDIR) $@ build/Makefile: ../Makefile.build - $(LN) -f $< $@ + $(LN_S) -Xf ../../Makefile.build $@ clean: rm -rf build