Index: uspace/app/ash/tools/Makefile
===================================================================
--- uspace/app/ash/tools/Makefile	(revision c28a023179b3461e986b1063211616a891aa66d9)
+++ uspace/app/ash/tools/Makefile	(revision 6a4aa562b15bd4ee2c0302278c65de9e1d16094c)
@@ -34,19 +34,15 @@
 
 OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
-OUTPUT := $(basename $(SOURCES))
+OUTPUT := $(addprefix ../,$(basename $(SOURCES)))
 
 .PHONY: all clean move-output
 
-all: $(OUTPUT) move-output	
+all: $(OUTPUT)
 
-#$(OUTPUT): $(OBJECTS)
-#	$(LD) $< $(LFLAGS) -o $@ 
-
-move-output:
-	mv $(OUTPUT) ../
+$(OUTPUT): $(OBJECTS)
+	$(CC) $< $(LFLAGS) -o $@ 
 
 clean:
 	-rm -f $(OUTPUT) $(OBJECTS)
-	( cd ..; rm -f $(OUTPUT); )
 
 %.o: %.S
