.PHONY: all
all: | clean 
	$(MAKE) lazy-rebuild test

clean:
	rm -rf test
	rm -f lazy-rebuild
	
lazy-rebuild:
	go build -o $@
	strip $@

test:
	mkdir test
	touch test/file1.txt
	touch test/file2
	touch test/collision
	touch test/file3.txt.longext
	echo unique > test/uni.txt
	./lazy-rebuild --long test