Parallel build fix. Multiword variables on the target side of a : get

expanded into individual rules for each word, so parallel builds will
start multiple instances to create the server/ symlinks and fail when they
already exist.
This commit is contained in:
Adam Jackson 2005-01-08 03:16:04 +00:00
parent f1481aa2d7
commit ccaa15a081

View file

@ -57,9 +57,11 @@ include ../Makefile.template
#INCLUDES += -I../radeon/server
$(SYMLINKS):
server:
mkdir -p server
for i in $(SYMLINKS) ; do rm -f $$i && test -f ../radeon/$$i && ln -s ../../radeon/$$i $$i ; done
$(SYMLINKS): server
@[ -e $@ ] || ln -sf ../../radeon/$@ server/
symlinks: $(SYMLINKS)